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

Closed
wants to merge 31 commits into from
Closed

Commits on Oct 12, 2021

  1. Cleanup LLVM multi-threading checks

    The support for runtime multi-threading was removed from LLVM. Calls to
    `LLVMStartMultithreaded` became no-ops equivalent to checking if LLVM
    was compiled with support for threads http://reviews.llvm.org/D4216.
    tmiasko committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    aa3bf01 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. Fix const qualification when executed after promotion

    The const qualification was so far performed before the promotion and
    the implementation assumed that it will never encounter a promoted.
    
    With `const_precise_live_drops` feature, checking for live drops is
    delayed until after drop elaboration, which in turn runs after
    promotion. so the assumption is no longer true. When evaluating
    `NeedsNonConstDrop` it is now possible to encounter promoteds.
    
    Use type base qualification for the promoted. It is a sound
    approximation in general, and in the specific case of promoteds and
    `NeedsNonConstDrop` it is precise.
    tmiasko committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    7581bae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    456283c View commit details
    Browse the repository at this point in the history
  3. Reject closures in patterns

    tmiasko committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    c97cf7f View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Configuration menu
    Copy the full SHA
    21d02bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    396a4f4 View commit details
    Browse the repository at this point in the history
  3. Change Duration::from_secs_* underflow error

    Now explicitly says negative value.
    mbartlett21 committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    fe060bf View commit details
    Browse the repository at this point in the history
  4. Trait objects

    BoxyUwU committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    6469fba View commit details
    Browse the repository at this point in the history
  5. Return pos impl trait

    BoxyUwU committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    a81e489 View commit details
    Browse the repository at this point in the history
  6. Wfness

    BoxyUwU committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    83a1834 View commit details
    Browse the repository at this point in the history
  7. Inference

    BoxyUwU committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    8f23779 View commit details
    Browse the repository at this point in the history
  8. add fixme

    BoxyUwU committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    7a8bd2d View commit details
    Browse the repository at this point in the history
  9. Ordering

    BoxyUwU committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    c75d8cb View commit details
    Browse the repository at this point in the history
  10. *dust dust*

    BoxyUwU committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    e7a9e82 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Configuration menu
    Copy the full SHA
    74c6636 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1e273f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    838e673 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab44e46 View commit details
    Browse the repository at this point in the history
  5. triagebot: Treat I-*nominated like I-nominated

    rustbot doesn't allow unauthenticated users to set `I-nominated`; apply
    the same permissions to the new `I-*nominated` labels.
    joshtriplett committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    d50832b View commit details
    Browse the repository at this point in the history
  6. Clarify undefined behaviour for binary heap, btree and hashset

    Previously, it wasn't clear whether "This could include" was referring
    to logic errors, or undefined behaviour. Tweak wording to clarify this
    sentence does not relate to UB.
    Wilfred authored and Mark-Simulacrum committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    04c1ec5 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#87537 - Wilfred:improve-min-heap-docs, r=Ma…

    …rk-Simulacrum
    
    Clarify undefined behaviour in binary heap, btree and hashset docs
    
    Previously, it wasn't clear whether "This could include" was referring to logic errors, or undefined behaviour. Tweak wording to clarify this sentence does not relate to UB.
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    9ac6c45 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#89808 - tmiasko:llvm-multithreaded, r=nagisa

    Cleanup LLVM multi-threading checks
    
    The support for runtime multi-threading was removed from LLVM. Calls to
    `LLVMStartMultithreaded` became no-ops equivalent to checking if LLVM
    was compiled with support for threads http://reviews.llvm.org/D4216.
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    ad6ca9a View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#89944 - mbartlett21:patch-2, r=Mark-Simulacrum

    Change `Duration::[try_]from_secs_{f32, f64}` underflow error
    
    The error message now says that it was a negative value.
    
    Fixes rust-lang#89913.
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    155c9a5 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#90028 - tmiasko:structural-match-closure, r…

    …=spastorino
    
    Reject closures in patterns
    
    Fixes rust-lang#90013.
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    ea4f062 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#90054 - michaelwoerister:v0-mangling-in-com…

    …piler, r=Mark-Simulacrum
    
    Make new symbol mangling scheme default for compiler itself.
    
    As suggest in rust-lang#89917 (comment), this PR enables the new symbol mangling scheme for the compiler itself. The standard library is still compiled using the legacy mangling scheme so that the new symbol format does not show up in user code (yet).
    
    r? `@Mark-Simulacrum`
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    e84a7c8 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#90069 - tmiasko:promoted-const-qualif, r=ol…

    …i-obk
    
    Fix const qualification when executed after promotion
    
    The const qualification was so far performed before the promotion and
    the implementation assumed that it will never encounter a promoted.
    
    With `const_precise_live_drops` feature, checking for live drops is
    delayed until after drop elaboration, which in turn runs after
    promotion. so the assumption is no longer true. When evaluating
    `NeedsNonConstDrop` it is now possible to encounter promoteds.
    
    Use type base qualification for the promoted. It is a sound
    approximation in general, and in the specific case of promoteds and
    `NeedsNonConstDrop` it is precise.
    
    Fixes rust-lang#89938.
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    8ff72f5 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#90078 - JohnTitor:test-83479, r=Mark-Simula…

    …crum
    
    Add a regression test for issue-83479
    
    Add a regression test for rust-lang#83479 (comment), but not close the issue, see rust-lang#83479 (comment).
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    2d0f3c6 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#90114 - BoxyUwU:cg_defaults_tests, r=lcnr

    Add some tests for const_generics_defaults
    
    I think this covers some of the stuff required for stabilisation report, some of these tests are probably covering stuff we already have but it can't hurt to have more :)
    
    r? `@lcnr`
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    114b995 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#90115 - samlich:test-issue-78561, r=oli-obk

    Add test for issue rust-lang#78561
    
    Adds test for and closes rust-lang#78561 which previously crashed compiler.
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    6152de0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6717b36 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#90129 - joshtriplett:triagebot-nominated, r…

    …=Mark-Simulacrum
    
    triagebot: Treat `I-*nominated` like `I-nominated`
    
    rustbot doesn't allow unauthenticated users to set `I-nominated`; apply the same permissions to the new `I-*nominated` labels.
    JohnTitor committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    e33b3e7 View commit details
    Browse the repository at this point in the history