-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustc_lint
cleanups
#125057
rustc_lint
cleanups
#125057
Conversation
4e48cf6
to
bddbaa6
Compare
☔ The latest upstream changes (presumably #124097) made this pull request unmergeable. Please resolve the merge conflicts. |
bddbaa6
to
deda6d9
Compare
I rebased. |
☔ The latest upstream changes (presumably #125434) made this pull request unmergeable. Please resolve the merge conflicts. |
I rebased and added the |
deda6d9
to
f279d3e
Compare
Thanks! |
…=cjgillot `rustc_lint` cleanups Minor improvements I found while looking through this code. r? `@cjgillot`
@bors r- |
Wrap overly long ones, etc.
It has a clumsy type, with repeated `&'a [LintId]`, and sometimes requires an empty string that isn't used in the `Err`+`None` case. This commit splits it into two variants.
f279d3e
to
32c8a12
Compare
I fixed the formatting. @bors r=cjgillot |
@bors rollup |
☀️ Test successful - checks-actions |
Finished benchmarking commit (9f2d0b3): 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 (primary 2.6%)This 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.
CyclesResults (secondary 2.4%)This 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 667.336s -> 667.872s (0.08%) |
Minor improvements I found while looking through this code.
r? @cjgillot