Uh oh!
There was an error while loading. Please reload this page.
Revert "fix: Filter suggestion parts that match existing code" - #148043
Conversation
rustbot
commented
Oct 23, 2025
Some changes occurred in src/tools/clippy cc @rust-lang/clippy
cc @Muscraft |
rustbot
commented
Oct 23, 2025
|
This comment has been minimized.
This comment has been minimized.
I wanted to wait for the reviewer to at least see the PR before nominating for a backport, or for CI to pass. |
This comment has been minimized.
This comment has been minimized.
Alright, so it seems likely we already have overlapping spans being emitted in the wild, but we didn't notice as we don't have tests that trigger this debug assertion. I could maybe make these tests rust/compiler/rustc_errors/src/lib.rs Lines 404 to 408 in 6501e64 What do you think @wesleywiser? |
wesleywiser
commented
Oct 23, 2025
I think making the tests |
rustbot
commented
Oct 23, 2025
This PR changes a file inside |
rustbot
commented
Oct 23, 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. |
rustbot
commented
Oct 23, 2025
|
I've added them specifically as |
lqd
commented
Oct 24, 2025
@bors r=wesleywiser |
bors
commented
Oct 24, 2025
bors
commented
Oct 24, 2025
Revert "fix: Filter suggestion parts that match existing code" As requested by `@wesleywiser` in #147973 (comment) this is a revert of #146121 due to the handful of diagnostics ICEs that have been since reported, and found in the beta crater run. This should thus also be backported to beta so the ICEs don't make it to next week's stable. Works around (after backport) - #146261 - #146706 - #146834 but I didn't add a test for this allowed-by-default lint - as well as the crater run regressions from #147973 of which I only added the MCVE as a test. The proper fix would likely be #147849 but it's still currently at the MCP stage. In the meantime, this PR would still emit the same overlapping suggestions, but still use a debug-assert... r? `@wesleywiser`
bors
commented
Oct 24, 2025
bors
commented
Oct 24, 2025
☀️ Test successful - checks-actions |
Uh oh!
There was an error while loading. Please reload this page.
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 75948c8 (parent) -> 8aab621 (this PR) Test differencesShow 11 test diffsStage 1
Stage 2
Additionally, 2 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 8aab621cd56bdc704f73c9d9aaa9f35ab5ee55b0 --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 24, 2025
Finished benchmarking commit (8aab621): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary 0.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeResults (secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 474.959s -> 475.14s (0.04%) |
apiraino
commented
Oct 24, 2025
[beta] backports - Revert constification of `AsRef for Cow` due to inference failure #148011 - Revert constification of `Borrow` and `Deref for Cow` due to inference failure #148016 - Revert "fix: Filter suggestion parts that match existing code" #148043 - Revert "feat: implement `hash_map!` macro" #148049 - fix panic when rustc tries to reduce intermediate filenames len with utf8 #148018 r? cuviper
[beta] backports - Revert constification of `AsRef for Cow` due to inference failure #148011 - Revert constification of `Borrow` and `Deref for Cow` due to inference failure #148016 - Revert "fix: Filter suggestion parts that match existing code" #148043 - Revert "feat: implement `hash_map!` macro" #148049 - fix panic when rustc tries to reduce intermediate filenames len with utf8 #148018 r? cuviper
As requested by @wesleywiser in #147973 (comment) this is a revert of #146121 due to the handful of diagnostics ICEs that have been since reported, and found in the beta crater run.
This should thus also be backported to beta so the ICEs don't make it to next week's stable.
Works around (after backport)
all spans must be disjoint#146261left == rightfailed: all spans must be disjoint #146706The proper fix would likely be #147849 but it's still currently at the MCP stage. In the meantime, this PR would still emit the same overlapping suggestions, but still use a debug-assert...
r? @wesleywiser