code suggestions for unused-mut, while-true, deprecated-attribute, and unused-parens lints#44942
Conversation
`CodeSuggestion` doesn't live in the `diagnostic` module.
estebank
left a comment
There was a problem hiding this comment.
Small nitpicks, r=me once you deal with the first two.
src/librustc_lint/builtin.rs
Outdated
src/librustc_lint/builtin.rs
Outdated
There was a problem hiding this comment.
When all arguments don't fit, I like to keep one line per argument (indented to the first one in the same line as the method).
src/librustc_lint/unused.rs
Outdated
There was a problem hiding this comment.
@nikomatsakis do we care about unicode in rustc comments?
15f4aa1 to
289faf5
Compare
|
(force-pushed to address formatting review comments) |
Also, fix the deprecation message for the late no-debug feature.
289faf5 to
a399757
Compare
|
(updated again to fix compile-fail failures reported by Travis) |
|
@bors r+ Thanks @zachreizner, great work! |
|
📌 Commit a399757 has been approved by |
|
⌛ Testing commit a3997577226db861d103d27da91a77acf9fd4b3e with merge 7a521317b909286b51aa36af0dee6cbd7a5cc6c0... |
I agree; @zachreizner is the best! I especially like the one where he fixed the shift-right docs; it must have taken a very careful eye to catch that! 😉 |
|
Not the first time I've been thanked in place of a a fellow Zach :-). I think my handle just comes up before the Zack Zach-s in the autocomplete. |
|
💔 Test failed - status-appveyor |
|
Appveyor/Windows apparently doesn't like the |
a399757 to
fa8802a
Compare
|
I believe we're really trying to move away from
|
fa8802a to
979671e
Compare
|
output normalization issue is #44968; updated tip of PR with ignore-windows is 979671ec |
979671e to
8a14022
Compare
|
correction, PR is 8a14022 |
|
@bors r+ rollup |
|
📌 Commit 8a14022 has been approved by |
code suggestions for unused-mut, while-true, deprecated-attribute, and unused-parens lints  r? @estebank
|
☀️ Test successful - status-appveyor, status-travis |
code suggestions for non-shorthand field pattern, no-mangle lints continuing in the spirit of #44942  r? @estebank
code suggestions for non-shorthand field pattern, no-mangle lints continuing in the spirit of #44942  r? @estebank
code suggestions for non-shorthand field pattern, no-mangle lints continuing in the spirit of #44942  r? @estebank
r? @estebank