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 #77247

Merged
merged 22 commits into from
Sep 27, 2020
Merged

Rollup of 10 pull requests #77247

merged 22 commits into from
Sep 27, 2020

Commits on Sep 21, 2020

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

Commits on Sep 23, 2020

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

Commits on Sep 24, 2020

  1. Update cargo

    ehuss committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    50d9663 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    74952b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Configuration menu
    Copy the full SHA
    bfdb790 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    939fd37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58d57f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2020

  1. Configuration menu
    Copy the full SHA
    1b84389 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d359db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    275bf62 View commit details
    Browse the repository at this point in the history
  4. pretty-print-reparse hack: Remove an impossible case

    Delimiters cannot appear as isolated tokens in a token stream
    petrochenkov committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    fe3e5aa View commit details
    Browse the repository at this point in the history
  5. Test more attributes in test issue-75930-derive-cfg.rs

    Split out from #76130
    
    This tests our handling of combining derives, derive helper
    attributes, attribute macros, and `cfg`/`cfg_attr`
    Aaron1011 committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    a17175f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of #76917 - GuillaumeGomez:map-missing-code-examples, r=…

    …Dylan-DPC
    
    Add missing code examples on HashMap types
    
    r? @Dylan-DPC
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    9ab95c3 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of #77107 - bugadani:perf, r=oli-obk

    Enable const propagation into operands at mir_opt_level=2
    
    Feature was added in #74507 but gated with `mir_opt_level>=3` because of compile time regressions. Let's see whether the LLVM 11 update solves that.
    
    As the [perf results](#77107 (comment)) show, enabling this optimization results in a lot less regression as before.
    
    cc @oli-obk
    
    r? @ghost
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    6b8fb3f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of #77129 - ehuss:update-cargo, r=ehuss

    Update cargo
    
    7 commits in 8777a6b1e8834899f51b7e09cc9b8d85b2417110..05c611ae3c4255b7a2bcf4fcfa65b20286a07839
    2020-09-15 19:11:03 +0000 to 2020-09-23 23:10:38 +0000
    - --workspace flag for locate-project to find the workspace root (rust-lang/cargo#8712)
    - Remove some badges documentation. (rust-lang/cargo#8727)
    - Add plain message format for locate-project (rust-lang/cargo#8707)
    - Add a term option to configure the progress bar (rust-lang/cargo#8165)
    - Replace d_as_f64 with as_secs_f64 (rust-lang/cargo#8721)
    - Add cross check to filters_target test. (rust-lang/cargo#8713)
    - Add test for whitespace behavior in env flags. (rust-lang/cargo#8706)
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    184ccb1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of #77167 - fusion-engineering-forks:fix-fixme-min-max-s…

    …ign-test, r=nagisa
    
    Fix FIXME in core::num test: Check sign of zero in min/max tests.
    
    r? nagisa
    
    @rustbot modify labels: +C-cleanup
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    5926c43 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of #77184 - pickfire:patch-4, r=kennytm

    Rust vec bench import specific rand::RngCore
    
    Using `RngCore` import for side effects is clearer than `*` which may bring it unnecessary more stuff than needed, it is also more explicit doing so.
    
    @pickfire change `LEN = 16384` (and pos) and `once` instead of `[0].iter()` after this.
    
    @rustbot modify labels: +C-cleanup +A-testsuite
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    bb416f3 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of #77208 - mati865:late-link-args-order, r=petrochenkov

    Late link args order
    
    MSYS2 changed how winpthreads is built and as the result it now depends on more mingw-w64 libraries.
    
    This PR affects only MinGW targets since nobody else is using `late_link_args_{dynamic,static}`. Now the order is similar to how it used to be before #67502.
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    3d1d24d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of #77209 - jyn514:fix-docs, r=petrochenkov

    Fix documentation highlighting in ty::BorrowKind
    
    Previously it looked a little odd: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.BorrowKind.html#variant.UniqueImmBorrow
    
    Noticed this while reviewing rust-lang/rustc-dev-guide#894.
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    593b38b View commit details
    Browse the repository at this point in the history
  13. Rollup merge of #77231 - oli-obk:clippy_const_fn, r=Manishearth

    Move helper function for `missing_const_for_fn` out of rustc to clippy
    
    cc @rust-lang/clippy @ecstatic-morse #76618
    
    r? @Manishearth
    
    I also removed all support for suggesting a function could be `const fn` when that would require feature gates to actually work.
    
    This means we'll now have to maintain this ourselves in clippy, but that's how most lints work anyway, so...
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    aa35c52 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of #77235 - petrochenkov:reparse, r=Aaron1011

    pretty-print-reparse hack: Rename some variables for clarity
    
    This will also make it easier to make the comparisons asymmetric.
    
    Also one impossible case is removed.
    
    r? @Aaron1011
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    7a1a871 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of #77243 - Aaron1011:more-derive-test, r=petrochenkov

    Test more attributes in test issue-75930-derive-cfg.rs
    
    Split out from #76130
    
    This tests our handling of combining derives, derive helper
    attributes, attribute macros, and `cfg`/`cfg_attr`
    jonas-schievink authored Sep 26, 2020
    Configuration menu
    Copy the full SHA
    b7c05a3 View commit details
    Browse the repository at this point in the history