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

Closed
wants to merge 16 commits into from

Commits on Nov 24, 2022

  1. Configuration menu
    Copy the full SHA
    1767f9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    480f850 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Configuration menu
    Copy the full SHA
    69d562d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5ccd27 View commit details
    Browse the repository at this point in the history
  3. rustdoc: remove no-op CSS #help dt { display: block }

    `display: block` is the [default UA style] for dt.
    
    [default UA style]: https://html.spec.whatwg.org/multipage/rendering.html#lists
    notriddle committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    20cb41f View commit details
    Browse the repository at this point in the history
  4. Remove AscribeUserTypeCx

    spastorino committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    aaa1db6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c9b30e View commit details
    Browse the repository at this point in the history
  6. Refine instruction_set inline rules

    Previously an exact match of the `instruction_set` attribute was required for an MIR inline to be considered. This change checks for an exact match *only* if the callee sets an `instruction_set` in the first place. When the callee does not declare an instruction set then it is considered to be platform agnostic code and it's allowed to be inline'd into the caller.
    Lokathor committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    ea47943 View commit details
    Browse the repository at this point in the history
  7. Update cargo

    5 commits in ba607b23db8398723d659249d9abf5536bc322e5..e027c4b5d25af2119b1956fac42863b9b3242744
    2022-11-22 20:52:39 +0000 to 2022-11-25 19:44:46 +0000
    - fix: Move off atty to resolve soundness issue (rust-lang/cargo#11420)
    - add newline char to `cargo install .` error message for easier reading. (rust-lang/cargo#11401)
    - chore: Upgrade to env_logger (rust-lang/cargo#11417)
    - Change rustdoc-scrape-examples to be a target-level configuration (rust-lang/cargo#10343)
    - temporarily disable test `lto::test_profile` (rust-lang/cargo#11419)
    weihanglo committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    083d6eb View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. Rollup merge of rust-lang#104121 - Lokathor:mir-opt-when-instruction-…

    …set-missing-on-callee, r=tmiasko
    
    Refine `instruction_set` MIR inline rules
    
    Previously an exact match of the `instruction_set` attribute was required for an MIR inline to be considered. This change checks for an exact match *only* if the callee sets an `instruction_set` in the first place. When the callee does not declare an instruction set then it is considered to be platform agnostic code and it's allowed to be inline'd into the caller.
    
    cc `@oli-obk`
    
    [Edit] Zulip Context: https://rust-lang.zulipchat.com/#narrow/stream/189540-t-compiler.2Fwg-mir-opt/topic/What.20exactly.20does.20the.20MIR.20optimizer.20do.3F
    matthiaskrgr committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    5a69ade View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#104675 - SarthakSingh31:issue-101666, r=jyn514

    Unsupported query error now specifies if its unsupported for local or external crate
    
    Fixes rust-lang#101666.
    I had to move `keys.rs` from `rustc_query_impl` to `rustc_middle`. I don't know if that is problematic. I couldn't think of any other way to get the needed information inside `rustc_middle`.
    
    r? ``@jyn514``
    matthiaskrgr committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    a4997ca View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#104839 - HintringerFabian:docs_array_from_f…

    …n, r=scottmcm
    
    improve array_from_fn documenation
    
    Improves array::from_fn documentation
    Fixes rust-lang#102609
    
    There were also unresolved comments from [this PR rust-lang#100462](rust-lang#100462), which have been added to my PR
    matthiaskrgr committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    d44429f View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#104880 - krasimirgg:llvm-16-ctx, r=cuviper

    [llvm-wrapper] adapt for LLVM API change
    
    Adapt for the LLVM API changes from llvm/llvm-project@721f975.
    
    Found via our experimental rust + llvm @ HEAD bot: https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/15203#0184ae73-5169-4b9b-92f4-d4e6e9b86ad9/194-531
    matthiaskrgr committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    a466a55 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#104899 - notriddle:notriddle/help-dt, r=Gui…

    …llaumeGomez
    
    rustdoc: remove no-op CSS `#help dt { display: block }`
    
    `display: block` is the [default UA style] for dt.
    
    [default UA style]: https://html.spec.whatwg.org/multipage/rendering.html#lists
    matthiaskrgr committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    7f7729e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#104906 - spastorino:remove-ascribeusertypec…

    …x, r=compiler-errors
    
    Remove AscribeUserTypeCx
    
    r? `@compiler-errors`
    
    This basically inlines `AscribeUserTypeCx::relate_mir_and_user_ty` into `type_op_ascribe_user_type_with_span` which is the only place where it's used and makes direct use of `ObligationCtxt` API.
    matthiaskrgr committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    3e01b53 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#104915 - weihanglo:update-cargo, r=weihanglo

    Update cargo
    
    5 commits in ba607b23db8398723d659249d9abf5536bc322e5..e027c4b5d25af2119b1956fac42863b9b3242744 2022-11-22 20:52:39 +0000 to 2022-11-25 19:44:46 +0000
    
    - fix: Move off atty to resolve soundness issue (rust-lang/cargo#11420)
    - add newline char to `cargo install .` error message for easier reading. (rust-lang/cargo#11401)
    - chore: Upgrade to env_logger (rust-lang/cargo#11417)
    - Change rustdoc-scrape-examples to be a target-level configuration (rust-lang/cargo#10343)
    - temporarily disable test `lto::test_profile` (rust-lang/cargo#11419)
    
    r+ `@ghost`
    matthiaskrgr committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    854ef22 View commit details
    Browse the repository at this point in the history