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 7 pull requests #103991

Merged
merged 15 commits into from
Nov 5, 2022
Merged

Rollup of 7 pull requests #103991

merged 15 commits into from
Nov 5, 2022

Commits on Nov 2, 2022

  1. Use TraitEngine less

    compiler-errors committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    41e4218 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Fix artifact version/channel detection for stable

    On stable, our artifacts are uploaded with the raw version number (e.g.,
    1.65.0), not the channel. This adjusts our detection logic to use the
    version number from src/version when we detect the stable channel.
    Mark-Simulacrum committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    2949009 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Cleanup bind_pattern args

    camsteffen committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    e7bae89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d98cce1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c15cfc9 View commit details
    Browse the repository at this point in the history
  4. rustdoc: simplify search results CSS and DOM

    There is a layout change caused by this commit, but it's subtle. You won't
    notice it unless you're looking for it.
    notriddle committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    b30c4d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4bd6748 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c97fd81 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#103868 - compiler-errors:trait-engine-less,…

    … r=jackh726
    
    Use `TraitEngine` (by itself) less
    
    Replace `TraitEngine` in favor of `ObligationCtxt` or `fully_solve_*`, improving code readability.
    matthiaskrgr committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    ad01a37 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#103878 - Mark-Simulacrum:fix-stable-ci-down…

    …load, r=jyn514
    
    Fix artifact version/channel detection for stable
    
    On stable, our artifacts are uploaded with the raw version number (e.g., 1.65.0), not the channel. This adjusts our detection logic to use the version number from src/version when we detect the stable channel.
    
    This is really only important for stable channel re-builds, I think, but those do happen from time to time. I'm backporting a similar commit in rust-lang#103859 to make that PR pass CI.
    matthiaskrgr committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    68c8d6d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#103946 - camsteffen:cleanup-bind-pattern, r…

    …=cjgillot
    
    Cleanup bind_pattern args
    
    Fixes rust-lang#101896
    matthiaskrgr committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    7b518af View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#103956 - JakobDegen:tidy-bless, r=jyn514

    Make mir opt unused file check blessable
    
    Makes it slightly nicer to work with.
    
    Can't write automated test but tested locally via
    
    ```
    $ touch src/test/mir-opt/random
    $ x test tidy // shows failure
    $ x test tidy --bless // file gone
    ```
    
    r? `@jyn514`
    matthiaskrgr committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    b1a47d2 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#103977 - TimNN:memory-effects, r=nikic

    LLVM 16: Switch to using MemoryEffects
    
    This adapts the compiler to the changes required by llvm/llvm-project@304f1d5.
    
    AFAICT, `WriteOnly` isn't used by the compiler, all `ReadNone` uses were migrated and the remaining use of `ReadOnly` is only for function parameters.
    
    To simplify the FFI, this PR uses an enum to represent `MemoryEffects` across the FFI boundary, which then gets mapped to the matching static factory method when constructing the attribute.
    
    Fixes rust-lang#103961.
    
    `@rustbot` label +llvm-main
    
    r? `@nikic`
    matthiaskrgr committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    f6ca5aa View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#103980 - notriddle:notriddle/search-results…

    …, r=GuillaumeGomez
    
    rustdoc: simplify search results CSS and DOM
    
    Preview: http://notriddle.com/notriddle-rustdoc-demos/search-results/std/index.html?search=vec
    
    There is a layout change caused by this commit, but it's subtle. You won't notice it unless you're looking for it.
    
    ## Before
    
    ![image](https://user-images.githubusercontent.com/1593513/200060877-05ae4135-db8d-4d24-8dfa-4c06b8ef671c.png)
    
    ## After
    
    ![image](https://user-images.githubusercontent.com/1593513/200061474-b0ea9e8d-72c3-401f-9106-072307d9e2ff.png)
    matthiaskrgr committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    ded8d03 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#103984 - V0ldek:103974-refactor-mk_const, r…

    …=BoxyUwU
    
    Refactor tcx mk_const parameters.
    
    Unroll the `ty::ConstS` parameter to `TyCtxt::mk_const` into separate `ty::ConstKind` and `Ty` parameters.
    
    Signature change is in:
    
    https://github.com/V0ldek/rust/blob/c97fd8183a98d6a89b8fc2e02eb068298e6fb7dc/compiler/rustc_middle/src/ty/context.rs#L2234
    
    and
    
    https://github.com/V0ldek/rust/blob/c97fd8183a98d6a89b8fc2e02eb068298e6fb7dc/compiler/rustc_middle/src/ty/context.rs#L2572-L2575
    
    the rest is callsites.
    
    Closes rust-lang#103974
    
    r? `@oli-obk`
    matthiaskrgr committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    b101f3a View commit details
    Browse the repository at this point in the history