Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable point release (1.26.1) #51045

Merged
merged 10 commits into from
May 25, 2018

Commits on May 24, 2018

  1. Filter out missing components from manifests

    This commit updates our manifest generation for rustup to filter out any
    components/extensions which are actually missing. This is intended to help
    mitigate rust-lang#49462 by making the manifests reflect reality, that many targets now
    are missing a `rust-docs` component rather than requiring it exists.
    alexcrichton authored and Mark-Simulacrum committed May 24, 2018
    Configuration menu
    Copy the full SHA
    4c67e70 View commit details
    Browse the repository at this point in the history
  2. Fix fn main() -> impl Trait for non-Termination trait

    Fixes rust-lang#50595.
    
    This bug currently affects stable. Why I think we can go for hard error:
    
    - It will in stable for at most one cycle and there is no legitimate
    reason to abuse it, nor any known uses in the wild.
    
    - It only affects `bin` crates (which have a `main`), so there is
    little practical difference between a hard error or a deny lint, both
    are a one line fix.
    
    The fix was to just unshadow a variable. Thanks @nikomatsakis for the
    mentoring!
    
    r? @nikomatsakis
    leoyvens authored and Mark-Simulacrum committed May 24, 2018
    Configuration menu
    Copy the full SHA
    31fe67c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0957c0f View commit details
    Browse the repository at this point in the history
  4. Fix issue rust-lang#50811 (NaN > NaN was true).

    Fix rust-lang#50811
    
    Make sure the float comparison output is consistent with the expected behavior when NaN is involved.
    
    ----
    
    Note: This PR is a **BREAKING CHANGE**. If you have used `>` or `>=` to compare floats, and make the result as the length of a fixed array type, like:
    
    ```rust
    use std::f64::NAN;
    let x: [u8; (NAN > NAN) as usize] = [1];
    ```
    
    then the code will no longer compile. Previously, all float comparison involving NaN will just return "Greater", i.e. `NAN > NAN` would wrongly return `true` during const evaluation. If you need to retain the old behavior (why), you may replace `a > b` with `a != a || b != b || a > b`.
    kennytm authored and Mark-Simulacrum committed May 24, 2018
    Configuration menu
    Copy the full SHA
    07c42af View commit details
    Browse the repository at this point in the history
  5. Fix self referential impl Trait substitutions

    A high impact bug because a lot of common traits use a `Self`
    substitution by default. Should be backported to beta.
    
    There was a check for this which wasn't catching all cases, it was made
    more robust.
    
    Fixes rust-lang#49376
    Fixes rust-lang#50626
    
    r? @petrochenkov
    leoyvens authored and Mark-Simulacrum committed May 24, 2018
    Configuration menu
    Copy the full SHA
    5b73750 View commit details
    Browse the repository at this point in the history
  6. Update RLS and Rustfmt

    nrc authored and Mark-Simulacrum committed May 24, 2018
    Configuration menu
    Copy the full SHA
    fbb1904 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2018

  1. Configuration menu
    Copy the full SHA
    6dc2666 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d37c75d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36348aa View commit details
    Browse the repository at this point in the history
  4. Bump for 1.26.1

    Mark-Simulacrum committed May 25, 2018
    Configuration menu
    Copy the full SHA
    b3785a3 View commit details
    Browse the repository at this point in the history