-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Avoid duplicate large_assignments
lints
#114774
Conversation
Could not assign reviewer from: |
r? @jackh726 (rustbot has picked a reviewer for you, use r? to override) |
@bors r+ rollup Thanks! |
☀️ Test successful - checks-actions |
Finished benchmarking commit (c587fd4): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 630.448s -> 629.54s (-0.14%) |
@oli-obk (Asking here to avoid noise in the tracking issue.) For the "stop linting in box/arc initialization" step, do you have some angle of attack in mind? For box it seems pretty straightforward since it is a lang item, so code involving box can relatively easily be special-cased in the compiler. But for arc, I see no clear path forward. As E-mentor, maybe you already have a plan for how this can be solved? |
In addition to lang items, we also have diagnostics items. So you can mark things as diagnostic items in libstd and then check for it in the lint. |
By checking for overlapping spans.
This PR does the "reduce noisiness" task in #83518.
r? @oli-obk who added E-mentor and E-help-wanted and wrote the initial code.
(The fix itself is in dc82736. The two commits before that are just small refactorings.)