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 6 pull requests #89882

Merged
merged 16 commits into from
Oct 14, 2021
Merged

Rollup of 6 pull requests #89882

merged 16 commits into from
Oct 14, 2021

Commits on Oct 1, 2021

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

Commits on Oct 12, 2021

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

Commits on Oct 13, 2021

  1. Configuration menu
    Copy the full SHA
    c9af192 View commit details
    Browse the repository at this point in the history
  2. Fix line length

    tmandry committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    2c31c31 View commit details
    Browse the repository at this point in the history
  3. Fix incorrect Box::pin suggestion

    The suggestion checked if Pin<Box<T>> could be coeerced to the expected
    type, but did not check predicates created by the coercion. We now
    look for predicates that definitely cannot be satisfied before giving
    the suggestion.
    
    The suggestion is marked MaybeIncorrect because we allow predicates that
    are still ambiguous and can't be proven.
    tmandry committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    5c14433 View commit details
    Browse the repository at this point in the history
  4. Always check predicates in can_coerce

    This only changed two tests and I consider both changes an improvement.
    tmandry committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    485ae9f View commit details
    Browse the repository at this point in the history
  5. Move misplaced comment

    tmandry committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    156c922 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a8558e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. Configuration menu
    Copy the full SHA
    4b59b35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30a20f8 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#89390 - tmandry:issue-72117, r=estebank

    Fix incorrect Box::pin suggestion
    
    The suggestion checked if `Pin<Box<T>>` could be coeerced to the expected
    type, but did not check predicates created by the coercion. We now
    look for predicates that definitely cannot be satisfied before giving
    the suggestion.
    
    The suggestion is still marked MaybeIncorrect because we allow predicates that
    are still ambiguous and can't be proven.
    
    Fixes rust-lang#72117.
    matthiaskrgr authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    f9c9774 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#89433 - arlosi:stdin-fix, r=joshtriplett

    Fix ctrl-c causing reads of stdin to return empty on Windows.
    
    Pressing ctrl+c (or ctrl+break) on Windows caused a blocking read of stdin to unblock and return empty, unlike other platforms which continue to block.
    
    On ctrl-c, `ReadConsoleW` will return success, but also set `LastError` to `ERROR_OPERATION_ABORTED`.
    
    This change detects this case, and re-tries the call to `ReadConsoleW`.
    
    Fixes rust-lang#89177. See issue for further details.
    
    Tested on Windows 7 and Windows 10 with both MSVC and GNU toolchains
    matthiaskrgr authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d177791 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#89823 - jackh726:project-overflow, r=oli-obk

    Switch order of terms to prevent overflow
    
    Fixes rust-lang#89639
    
    r? ``@pnkfelix``
    matthiaskrgr authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    29081f9 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#89865 - tmandry:llvm-static, r=Mark-Simulacrum

    Allow static linking LLVM with ThinLTO
    
    There's no reason not to allow this if the user wants it. It works, at least in a local build on linux host.
    
    For our use case, we're happy to spend more time building the compiler if it creates a speedup every time we run it, and we've observed speedups like this with clang.
    matthiaskrgr authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    0888c6d View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#89873 - askoufis:patch-1, r=Mark-Simulacrum

    Add missing word to `FromStr` trait documentation
    
    The doc comment is getting a bit wide, let me know if I should restructure it/add a new line.
    matthiaskrgr authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    686857f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#89878 - GuillaumeGomez:add-missing-cfg-hide…

    …, r=notriddle
    
    Fix missing remaining compiler specific cfg information
    
    Follow-up of rust-lang#89596. We forgot a few of them:
    
    ![Screenshot from 2021-10-14 11-36-44](https://user-images.githubusercontent.com/3050060/137292700-64ebc59f-d9d2-41f2-be3a-fa5bf211523c.png)
    ![Screenshot from 2021-10-14 11-36-56](https://user-images.githubusercontent.com/3050060/137292703-f63fa4e5-2c56-446b-9f86-3652f03dfe59.png)
    
    r? `@notriddle`
    matthiaskrgr authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    d6eff5a View commit details
    Browse the repository at this point in the history