-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Revert "fix: Filter suggestion parts that match existing code" #148043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Some changes occurred in src/tools/clippy cc @rust-lang/clippy
cc @Muscraft |
|
|
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? |
|
I think making the tests |
|
This PR changes a file inside |
|
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. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added them specifically as |
|
@bors r=wesleywiser |
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`
|
☀️ 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 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 |
|
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%) |
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