Uh oh!
There was an error while loading. Please reload this page.
Mark desugared range expression spans with DesugaringKind::RangeExpr - #146069
Conversation
rustbot
commented
Sep 1, 2025
r? @SparrowLii rustbot has assigned @SparrowLii. Use |
rustbot
commented
Sep 1, 2025
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
Uh oh!
There was an error while loading. Please reload this page.
b4bfa81 to
ac6978fCompareac6978f to
7dce8b2Compare
This comment has been minimized.
This comment has been minimized.
camsteffen
commented
Sep 19, 2025
@SparrowLii are you able to review? |
SparrowLii
commented
Sep 30, 2025
@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.
Mark desugared range expression spans with DesugaringKind::RangeExpr
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Sep 30, 2025
Finished benchmarking commit (b4fcc0d): comparison URL. Overall result: ❌ regressions - please read the text belowBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient 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 1.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.2%, secondary 6.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 468.849s -> 470.946s (0.45%) |
camsteffen
commented
Sep 30, 2025
Just a guess but let's see if that fixes it. |
SparrowLii
commented
Oct 9, 2025
@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.
Mark desugared range expression spans with DesugaringKind::RangeExpr
This comment has been minimized.
This comment has been minimized.
7dce8b2 to
b8af04cCompare
This comment has been minimized.
This comment has been minimized.
We focus on the primary cases so I think the second impl and results are a bit better. Collecting lang items in HIR is very valuable so the regression doesn't block this PR IMO. Just seeing if there are some optimiztions. Anyway I think we can merge it next week. |
SparrowLii
commented
Oct 20, 2025
@camsteffen Could you re-push the commit which generates the soecend perf resutlts? Then I can give a r+ |
The need for this arose when encountering range expressions surrounded by parenthesis, where we want the span desugaring mark to be preserved.
b8af04c to
6d61dadComparerustbot
commented
Oct 21, 2025
This PR was rebased onto a different master 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. |
camsteffen
commented
Oct 21, 2025
Ok, I squashed it in. Sorry for the delay, I think I misunderstood your comment before. |
SparrowLii
commented
Oct 27, 2025
@bors r+ rollup=never |
bors
commented
Oct 27, 2025
bors
commented
Oct 27, 2025
bors
commented
Oct 27, 2025
☀️ Test successful - checks-actions |
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 b1b464d (parent) -> 23fced0 (this PR) Test differencesShow 26 test diffs26 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 23fced0fcc5e0ec260d25f04a8b78b269e5e90f0 --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
Oct 27, 2025
Finished benchmarking commit (23fced0): comparison URL. Overall result: ❌ regressions - please read the text belowOur benchmarks found a performance regression caused by this PR. Next Steps:
@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.5%, secondary 4.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.1%, secondary 0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 474.573s -> 475.144s (0.12%) |
panstromek
commented
Oct 27, 2025
perf triage: Regression was deemed acceptable here: #146069 (comment) Note that the regression mostly affects very short benchmarks (incr-unchanged and such), so this is not as bad as it might seem from the summary. @rustbot label: +perf-regression-triaged |
…rrowLii Mark desugared range expression spans with DesugaringKind::RangeExpr This is a prerequisite to removing `QPath::LangItem` (rust-lang#115178) because otherwise there would be no way to detect a range expression in the HIR. There are some non-obvious Clippy changes so a Clippy team review would be good.
…rrowLii Mark desugared range expression spans with DesugaringKind::RangeExpr This is a prerequisite to removing `QPath::LangItem` (rust-lang#115178) because otherwise there would be no way to detect a range expression in the HIR. There are some non-obvious Clippy changes so a Clippy team review would be good.
…rrowLii Mark desugared range expression spans with DesugaringKind::RangeExpr This is a prerequisite to removing `QPath::LangItem` (rust-lang#115178) because otherwise there would be no way to detect a range expression in the HIR. There are some non-obvious Clippy changes so a Clippy team review would be good.
This is a prerequisite to removing
QPath::LangItem(#115178) because otherwise there would be no way to detect a range expression in the HIR.There are some non-obvious Clippy changes so a Clippy team review would be good.