Repository navigation
Rollup of 12 pull requests - #166507
Rollup of 12 pull requests#166507
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>
…ohnTitor,JonathanBrouwer Revert "implement const Iterator for Range - rust-lang#156216" Potential fix for rust-lang#166229. Had to manually resolve some merge conflicts, but, range-diff does appear to verify that this does fully revert the original PR rust-lang#156216.
…-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.
|
@bors r+ p=5 force |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 4cedc6b (parent) -> 739adec (this PR) Test differencesShow 1170 test diffsStage 1
Stage 2
(and 130 additional test diffs) Additionally, 940 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 739adecd444342128b4ef32cbbd8352856cb1651 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
📌 Perf builds for each rolled up PR:
parent commit: 4cedc6bd57 In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: |
|
Finished benchmarking commit (739adec): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.4%, secondary -0.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.0%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 461.503s -> 488.117s (5.77%) |
|
@rust-timer triage all |
Running triage with 4 benchmarksTriage only executes the benchmarks on rollup members, that were changed significantly on the rollup.
#166340 3fbd91c Revert "implement const Iterator for Range - #156216"Queued 3fbd91c with parent 4cedc6b, future comparison URL. #165345 181ba53 Remove the 'eq', 'eq_trace', and 'goals_to_obligations' methods from 'At'Queued 181ba53 with parent 4cedc6b, future comparison URL. #165538 2e8f62e Supertraits returns UnnormalizedQueued 2e8f62e with parent 4cedc6b, future comparison URL. #165794 0067518
|
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