Uh oh!
There was an error while loading. Please reload this page.
Do not modify resolver outputs during lowering - #155460
Conversation
rustbot
commented
Apr 17, 2026
Some changes occurred in compiler/rustc_ast_lowering/src/format.rs cc @m-ou-se |
cjgillot
commented
Apr 17, 2026
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Do not modify resolver outputs during lowering
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Apr 18, 2026
Finished benchmarking commit (fd1275a): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never 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 2.8%, secondary 3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -3.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 490.91s -> 488.306s (-0.53%) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
1e6ae8e to
a9cee38Compare
This comment has been minimized.
This comment has been minimized.
cjgillot
commented
Apr 21, 2026
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Do not modify resolver outputs during lowering
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Apr 22, 2026
Finished benchmarking commit (1c6d6e2): comparison URL. Overall result: no relevant changes - no action neededBenchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. @bors rollup=never Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (secondary -14.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 489.594s -> 487.712s (-0.38%) |
This comment has been minimized.
This comment has been minimized.
a9cee38 to
4d5b6b5Compare
This comment has been minimized.
This comment has been minimized.
oli-obk
commented
Apr 24, 2026
Please squash the first two commits to avoid the back and forth in the diff |
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Camille Gillot <gillot.camille@gmail.com>
4d5b6b5 to
4433512Comparerustbot
commented
Apr 24, 2026
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
oli-obk
commented
Apr 25, 2026
@bors r+ |
(I was waiting for the |
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 7e0430f (parent) -> fb76025 (this PR) Test differencesShow 3 test diffs3 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard fb76025f2fe6a1c8ce03fe0931f941c8077a2c34 --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 |
rust-timer
commented
Apr 25, 2026
Finished benchmarking commit (fb76025): comparison URL. Overall result: ❌ regressions - 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 -0.7%, secondary -1.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.3%, secondary -2.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 491.487s -> 487.131s (-0.89%) |
View all comments
Split from #142830
I believe this achieves the same thing as #153656 but in a much simpler way.
This PR forces AST->HIR lowering to stop mutating resolver outputs. Instead, it manages a few override maps that only live during lowering and are dropped afterwards.
r? @petrochenkov
cc @aerooneqq