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

Merged
merged 14 commits into from
Nov 26, 2022
Merged

Rollup of 6 pull requests #104935

merged 14 commits into from
Nov 26, 2022

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

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 authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    4733312 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 authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    42010a2 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 authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    1fc83ae 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 authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    0f28e40 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 authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    8586544 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 authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    1fe18a5 View commit details
    Browse the repository at this point in the history