Repository navigation
Rollup of 11 pull requests - #166495
Open
JonathanBrouwer wants to merge 31 commits into
Open
Rollup of 11 pull requests#166495JonathanBrouwer wants to merge 31 commits into
JonathanBrouwer wants to merge 31 commits into
Conversation
It's not needed until much later.
It was duplicated from the one in `trait_goals.rs` but isn't needed. (And the corresponding `consider_impl_candidate` method in `normalizes_to.rs` doesn't have it.)
It's now repeated at two call sites instead of within three callees. Still not ideal, but an improvement.
…aw' and 'eq_trace'
…d generate the same search index
This deduplicates code between most callconv computation implementations. 32bit x86 has some postprocessing going on that makes it non-trivial to use this abstraction, but for all other archs it works fine.
And make sure Rust ZSTs are always ignored. Previously they incorrectly got passed by-ref on SPARC.
ExternAbi distinguishes between ABIs that should have identical callconvs.
Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
…-eq-and-eq-trace2, r=fee1-dead,lcnr Remove the 'eq', 'eq_trace', and 'goals_to_obligations' methods from 'At' Continuation of rust-lang#164244, rust-lang#164244 etc.
…normalized, r=ShoyuVanilla Supertraits returns Unnormalized part of rust-lang#155345. It gets thorny pretty quickly. I kept the changes minimal to make them easier to review, but it'll take some time to streamline everything. r? @ShoyuVanilla
…e, r=jdonszelmann `consider_impl_candidate` tweaks Cleans up the code a little. Also speeds up the new solver a bit, because putting the fast-reject tests (which almost always trigger an early return) before the calls to `consider_impl_candidate` avoids the cost of the function calls. r? @jdonszelmann
…ce, r=lcnr Avoid inference constraints from opaque blanket impls partially addresses trait system refactor initiative issue 229 this avoids constraining unrelated trait arguments when matching blanket impls for opaque types that are not yet defined while still allowing inference from their bounds
…Jung add `scalbn` and `ilogb` methods on floats tracking issue: rust-lang#163184
…15, r=lcnr Add regression test for rust-lang#152415 Adds a regression test for rust-lang#152415. The ICE (`assertion failed: !origin.span.is_dummy()` in `need_type_info.rs`) was fixed by rust-lang#156619. I checked it with builds that have debug assertions: - on 89a9993 (the parent of rust-lang#156619) the test ICEs - on c712ea9 (rust-lang#156619) and on current master it only reports E0207 I also tried a few variations of the example (dyn, `where Self:`, two const params, an impl of the trait). Six of them ICE before rust-lang#156619, none after. Closes rust-lang#152415 r? @lcnr ### LLM disclosure The task itself came from the issue (find the fixing PR and add a test). I used an LLM to run the bisect and the before/after builds of rust-lang#156619, and to help write the test and draft some texts. I reviewed the test and the results myself, so I understand the change.
…16, r=lcnr Add regression test for rust-lang#151316 Adds a regression test for rust-lang#151316, covering the three examples from the issue. A plain bisect points at rust-lang#156976, but that PR only hides the ICE behind the E0277 error: with `-Zeagerly-emit-delayed-bugs` the `could not normalize` delayed bug is still emitted until rust-lang#159649, and bisecting with that flag lands exactly on rust-lang#159649. This is the same as what happened in rust-lang#156700. This is similar to the test added in rust-lang#164272 for rust-lang#155977 (which also keeps the delayed bug until rust-lang#159649), but the examples here also cover `FnOnce` projections and `non_lifetime_binders`. The test ICEs on nightly-2026-07-01 and only reports E0277 on current master. Closes rust-lang#151316 closes rust-lang#156700 r? @lcnr ### LLM disclosure The task itself came from the issue (find the fixing PR and add tests). I used an LLM to run the bisects (including the one with `-Zeagerly-emit-delayed-bugs` that points at rust-lang#159649), and to help write the test and draft some texts. I reviewed the test and the results myself, so I understand the change.
Introduce compute_abi helper and ComputeCallConv trait This deduplicates code between most callconv computation implementations. 32bit x86 has some postprocessing going on that makes it non-trivial to use this abstraction, but for all other archs it works fine. After that deduplicate ZST arg/ret handling and make sure Rust ZSTs are always ignored. Previously they incorrectly got passed by-ref on SPARC. This will help a bit with rust-lang#119183 by marking it easier to ensure code like the `repr(transparent)` handling is done consistently across all targets.
… r=fmease Move `rustdoc-ui` tests in the right folder Since you mentioned it [here](rust-lang#166246 (review)) that we should cleanup this folder too, here you go @fmease. ;) r? @fmease
… r=notriddle [rustdoc] Fix search index generation: if crate content didn't change, it should generate the same search index Fixes rust-lang#166236. The problem was that we didn't process items with index lower than the crate's name. For performance reason maybe? Not sure. r? @notriddle
…thanBrouwer Allow passing `--exact-match` and `--purge` to `x perf` r? @JonathanBrouwer
Member
Author
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 24, 2026
Rollup of 11 pull requests try-job: dist-various-1 try-job: dist-various-2 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu try-job: test-x86_64-gnu-llvm-22-3 try-job: test-aarch64-msvc-2
Contributor
|
⌛ Trying commit 1cb01cd with merge bd37acb… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/45414778245 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
consider_impl_candidatetweaks #165794 (consider_impl_candidatetweaks)scalbnandilogbmethods on floats #163187 (addscalbnandilogbmethods on floats)assertion failed: !origin.span.is_dummy()#152415)for<'a> <i32 as FnOnce<(&'a mut i32,)>>::Output: 'a#151316)rustdoc-uitests in the right folder #166313 (Moverustdoc-uitests in the right folder)--exact-matchand--purgetox perf#166485 (Allow passing--exact-matchand--purgetox perf)r? @ghost
Create a similar rollup