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

Rollup of 10 pull requests #62407

Merged
merged 23 commits into from
Jul 5, 2019
Merged

Rollup of 10 pull requests #62407

merged 23 commits into from
Jul 5, 2019

Commits on Jun 29, 2019

  1. Configuration menu
    Copy the full SHA
    e861efd View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Configuration menu
    Copy the full SHA
    47ea8ae View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Configuration menu
    Copy the full SHA
    b9344e3 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. Configuration menu
    Copy the full SHA
    bb7fbb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43315bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3eef0cb View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Configuration menu
    Copy the full SHA
    bee964c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54527db View commit details
    Browse the repository at this point in the history
  3. Add missing lifetime specifier

    Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
    jeremystucki and Centril committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    fc67e57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    55bd214 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e4f250e View commit details
    Browse the repository at this point in the history
  6. Improve error span for async type inference error

    Fixes rust-lang#62382
    
    Previously, we would point at the spawn of the 'await' expression,
    instead of the actual expression with an unknown type.
    Aaron1011 committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    779308a View commit details
    Browse the repository at this point in the history
  7. Break out of the correct number of scopes in loops

    We were incorrectly breaking out of one too many drop scopes when
    generating MIR for loops and breakable blocks, resulting in use after
    free and associated borrow checker warnings.
    
    This wasn't noticed because the scope that we're breaking out of twice
    is only used for temporaries that are created for adjustments applied to
    the loop. Since loops generally propagate coercions to the `break`
    expressions, the only case we see this is when the type of the loop is a
    smart pointer to a trait object.
    matthewjasper committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    1b7ffe5 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Rollup merge of rust-lang#62123 - jeremystucki:needless_lifetimes_std…

    …, r=alexcrichton
    
     Remove needless lifetimes (std)
    
    Split from rust-lang#62039
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    0f92eb8 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#62150 - alex:mem-uninit-refactor, r=RalfJung

    Implement mem::{zeroed,uninitialized} in terms of MaybeUninit.
    
    Refs rust-lang#62061
    
    r? @oli-obk
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    1d45156 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#62169 - Zoxc:store-query-results, r=eddyb

    Derive which queries to save using the proc macro
    
    Based on rust-lang#62166.
    
    r? @eddyb
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    4b21e20 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#62238 - GuillaumeGomez:fix-code-block-infor…

    …mation-icon-pos, r=QuietMisdreavus
    
    Fix code block information icon position
    
    Fixes rust-lang#62118.
    
    A screenshot of the fix:
    
    <img width="720" alt="Screenshot 2019-06-29 at 18 28 59" src="https://user-images.githubusercontent.com/3050060/60386900-edb23b80-9a9b-11e9-9f4f-0f343674348c.png">
    
    r? @rust-lang/rustdoc
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    61256a8 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#62292 - Centril:split-async-closures, r=cra…

    …mertj
    
    Move `async || ...` closures into `#![feature(async_closure)]`
    
    The `async || expr` syntax is moved out from `#![feature(async_await)]` into its own gate `#![feature(async_closure)]`.
    
    New tracking issue: rust-lang#62290
    
    Closes rust-lang#62214.
    
    cc rust-lang#62149
    
    r? @varkor
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    84527e4 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#62323 - Centril:clarify-read-unaligned, r=R…

    …alfJung
    
    Clarify unaligned fields in ptr::{read,write}_unaligned
    
    r? @RalfJung
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    d3569dd View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#62324 - Centril:reduce-await-macro-reliance…

    …, r=cramertj
    
    Reduce reliance on `await!(...)` macro
    
    Only the last commit is new.
    
    r? @cramertj
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    7d6e431 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#62371 - Nemo157:fix-62288, r=Centril

    Add tracking issue for Box::into_pin
    
    Fixes rust-lang#62288
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    ccd925b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#62383 - Aaron1011:fix/async-error-span, r=v…

    …arkor
    
    Improve error span for async type inference error
    
    Fixes rust-lang#62382
    
    Previously, we would point at the spawn of the 'await' expression,
    instead of the actual expression with an unknown type.
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    cc696b9 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#62388 - rust-lang:fix-loop-break-mir-genera…

    …tion, r=eddyb
    
    Break out of the correct number of scopes in loops
    
    We were incorrectly breaking out of one too many drop scopes when
    generating MIR for loops and breakable blocks, resulting in use after
    free and associated borrow checker warnings.
    
    This wasn't noticed because the scope that we're breaking out of twice
    is only used for temporaries that are created for adjustments applied to
    the loop. Since loops generally propagate coercions to the `break`
    expressions, the only case we see this is when the type of the loop is a
    smart pointer to a trait object.
    
    Closes rust-lang#62312
    Centril committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    1808189 View commit details
    Browse the repository at this point in the history