-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Make more tests rustfixable #4558
Conversation
@@ -2,7 +2,8 @@ | |||
#[warn(clippy::eq_op)] | |||
#[allow(clippy::identity_op, clippy::double_parens, clippy::many_single_char_names)] | |||
#[allow(clippy::no_effect, unused_variables, clippy::unnecessary_operation, clippy::short_circuit_statement)] | |||
#[warn(clippy::nonminimal_bool)] | |||
#[allow(clippy::nonminimal_bool)] |
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 guess this is tested in another file? Everything else LGTM
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.
Yep
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.
Thanks a ton!
Not entirely sure about the map_entry
change and one test file needs fixing, otherwise LGTM
tests/ui/for_loop_unfixable.stderr
Outdated
--> $DIR/for_loop_unfixable.rs:27:15 | ||
| | ||
LL | for _v in vec.iter().next() {} | ||
| ^^^ help: use `!` to invoke the macro: `vec!` |
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.
The test file is missing the vec
local.
6e4d646
to
b352c2d
Compare
@bors r=phansch |
📌 Commit b352c2d has been approved by |
💔 Test failed - checks-travis |
@bors retry |
💔 Test failed - status-appveyor |
|
b352c2d
to
33f1415
Compare
@bors r=phansch |
📌 Commit 33f1415 has been approved by |
💔 Test failed - status-appveyor |
33f1415
to
2fecf75
Compare
@bors r=phansch |
📌 Commit 2fecf75 has been approved by |
This is what i get for making a PR in a hurry because I didn't think I'd be back on my laptop until after my flight |
☀️ Test successful - checks-travis, status-appveyor |
changelog: Fix various lint suggestions
Progress towards #3630
r? @phansch