-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Rollup of 6 pull requests #112228
Rollup of 6 pull requests #112228
Conversation
…IATs, don't partially support const projection for impls
Separate AnonConst from ConstBlock in HIR. Their behaviours are different enough to justify having separate nodes.
bootstrap: Rename profile = user to profile = dist Fixes rust-lang#112074
…o-mir, r=oli-obk Lower `unchecked_div`/`_rem` to MIR's `BinOp::Div`/`Rem` As described in <https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/enum.BinOp.html#variant.Div>, the ordinary `BinOp`s for these are already UB for division by zero ([or overflow](https://llvm.org/docs/LangRef.html#sdiv-instruction), [demo](https://rust.godbolt.org/z/71e7P7Exh)), as MIR building is responsible for inserting code to panic for those cases regardless of whether the overflow checks are enabled. So we can lower these in the same arm that lowers `wrapping_add` to MIR `BinOp::Add` and such, as all these cases turn into ordinary `Rvalue::BinaryOp`s.
…, r=BoxyUwU Normalize anon consts in new solver We don't do any of that `expand_abstract_consts` stuff so this isn't sufficient to make GCE work, but it does allow, e.g. `[(); 1]: Default`, to solve. r? `@BoxyUwU`
…oc, r=ozkanonur pass `--lib` to `x doc` This PR want to close rust-lang#112082
…oj, r=BoxyUwU Don't ICE in new solver when auto traits have associated types People can write malformed auto traits, and that shouldn't cause the new solver to ICE
@bors r+ rollup=never p=6 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: dd5d7c729d In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (7a0070e): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 645.805s -> 644.74s (-0.16%) |
Successful merges:
unchecked_div
/_rem
to MIR'sBinOp::Div
/Rem
#112168 (Lowerunchecked_div
/_rem
to MIR'sBinOp::Div
/Rem
)--lib
tox doc
#112211 (pass--lib
tox doc
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup