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 11 pull requests #63990

Merged
merged 32 commits into from
Aug 29, 2019
Merged

Rollup of 11 pull requests #63990

merged 32 commits into from
Aug 29, 2019

Commits on Aug 22, 2019

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

Commits on Aug 23, 2019

  1. Extend comment

    estebank committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    055f7e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2019

  1. Configuration menu
    Copy the full SHA
    5cc1559 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e49b958 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f908aa9 View commit details
    Browse the repository at this point in the history
  4. 1 Configuration menu
    Copy the full SHA
    3b2c147 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dbbe336 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7677d1f View commit details
    Browse the repository at this point in the history
  7. Improve 'mut ' diagnostic.

    Centril committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    42e895d View commit details
    Browse the repository at this point in the history
  8. Merge pull request rust-lang#9 from Wind-River/V7LIBC-948

    remove the reference to __cxa_thread_atexit_impl
    BaoshanPang authored Aug 27, 2019
    Configuration menu
    Copy the full SHA
    cce631a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    82f2b37 View commit details
    Browse the repository at this point in the history
  10. Apply review comments

    JohnTitor committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    8c921be View commit details
    Browse the repository at this point in the history
  11. Remove sized spans

    JohnTitor committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    ede7a77 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2019

  1. Configuration menu
    Copy the full SHA
    6f67bbc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42bd6fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0006216 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cca64e7 View commit details
    Browse the repository at this point in the history
  5. Simplify maybe_get_optimized_mir and maybe_get_promoted_mir

    Since both functions are always unwrapped, don't wrap the return value
    in an `Option`.
    wesleywiser committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    30b29ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    009cce8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8cf3921 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    080fdb8 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Rollup merge of rust-lang#63811 - estebank:impl-trait-arg, r=cramertj

    Correctly suggest adding bounds to `impl Trait` argument
    
    Fix rust-lang#63706.
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    4cae33a View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#63933 - wesleywiser:cleanup_from_move_promo…

    …ted, r=oli-obk
    
    Resolve some small issues related to rust-lang#63580
    
    This resolves some feedback left on rust-lang#63580 after it was merged:
    
    - Adds documentation to `mir::Static` and `mir::StaticKind`
    - Simplifies `maybe_get_optimized_mir()` and `maybe_get_promoted_mir()`
    
    cc @bjorn3 @RalfJung
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    b6df827 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#63938 - tshepang:typo, r=Centril

    or-pattern: fix typo in error message
    
    cc rust-lang#54883.
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    eb4ac32 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#63945 - Centril:recover-mut-pat, r=estebank

    Recover `mut $pat` and other improvements
    
    - Recover on e.g. `mut Foo(x, y)` and suggest `Foo(mut x, mut y)`. Fixes rust-lang#63764.
    - Recover on e.g. `let mut mut x;`
    - Recover on e.g. `let keyword` and `let keyword(...)`.
    - Cleanups in `token.rs` with `fn is_non_raw_ident_where` and friends.
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    52c3846 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#63958 - RalfJung:silence-const-prop, r=oli-obk

    const_prop: only call error_to_const_error if we are actually showing something
    
    This makes `RUSTC_CTFE_BACKTRACE` useful again.
    
    r? @oli-obk
    
    Fixes rust-lang#63439
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    99d271f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#63961 - JohnTitor:improve-require-lang-item…

    …, r=estebank
    
    Add Option<Span> to `require_lang_item`
    
    Fixes rust-lang#63954
    
    I'm not sure where to take `Some(span)` or something so I use `None` in many places.
    r? @estebank
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    d4757d5 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#63963 - Wind-River:master_003, r=alexcrichton

    remove the reference to __cxa_thread_atexit_impl
    
    r? @alexcrichton
    
    cc @n-salim
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    f0e2895 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#63965 - loganwendholt:linker-script-fix, r=…

    …michaelwoerister
    
    Prevent syntax error in LD linker version script
    
    As discussed in rust-lang#63925, there is an edge case in which an invalid LD version script is generated when building a `cdylib` with no exported symbols. This PR makes a slight modification to the  LD version script generation by first checking to see if any symbols need to be exported. If not, the `global` section of the linker script is simply omitted, and the syntax error is averted.
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    1c4a9a9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#63968 - eddyb:apfloat-nostd, r=matthewjasper

    rustc_apfloat: make the crate #![no_std] explicitly.
    
    We only need allocation, and even that could be made optional.
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    75c8c21 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#63970 - flip1995:notify_clippy, r=oli-obk

    Notify me (flip1995) when Clippy toolstate changes
    
    I want in on the fun 🎉
    
    Also friendly ping @llogiq @mcarton: Since you two aren't _that_ active on the Clippy repo anymore, do you still want to get pinged on Clippy toolstate changes?
    
    r? @oli-obk
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    e3028db View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#63980 - DutchGhost:master, r=cramertj

    add missing `#[repr(C)]` on the Slices union
    
    Adds the `#[repr(C)]` attribute to the `Slices` union used to convert an `&str` into a `&[u8]`.
    Without the attribute, the union has an unspecified layout: https://doc.rust-lang.org/reference/types/union.html, so performing the 'transmute' is unsound without the attribute (as far as I understand).
    
    The `Repr` union, used for converting a raw ptr + len to a slice has this attribute as well:
    https://github.com/rust-lang/rust/blob/master/src/libcore/ptr/mod.rs#L211-#L216
    Centril authored Aug 29, 2019
    Configuration menu
    Copy the full SHA
    7391009 View commit details
    Browse the repository at this point in the history