Uh oh!
There was an error while loading. Please reload this page.
[beta][clippy] backport multiple FP fixes for a warn-by-default lint - #77403
Conversation
It emits a lint when the pushed item is a literal, a constant and an immutable binding that are initialized with those.
Add tests in which the variable is initialized with a match expression and function call
rust-highfive
commented
Oct 1, 2020
|
emilyalbini
commented
Oct 1, 2020
@bors r+ p=10 rollup=never |
bors
commented
Oct 1, 2020
📌 Commit 4a91098 has been approved by |
bors
commented
Oct 1, 2020
⌛ Testing commit 4a91098 with merge 06bcf4d722aaf93e0d95b05e54fa4e0ff2466b23... |
rust-log-analyzer
commented
Oct 1, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
emilyalbini
commented
Oct 1, 2020
Spurious failure. @bors retry |
bors
commented
Oct 1, 2020
⌛ Testing commit 4a91098 with merge 03de2742e0f7e4d5628e1367f7551f487ab07ce7... |
bors
commented
Oct 1, 2020
💔 Test failed - checks-actions |
flip1995
commented
Oct 1, 2020
Again the same error? 🤔 |
emilyalbini
commented
Oct 1, 2020
@bors retry |
bors
commented
Oct 1, 2020
bors
commented
Oct 1, 2020
☀️ Test successful - checks-actions, checks-azure |
This backports the PR rust-lang/rust-clippy#6016 fixing multiple FPs:
rust-lang/rust-clippy#5902
rust-lang/rust-clippy#5979
rust-lang/rust-clippy#5985
We didn't have any complaints about this lint, since me merged this PR.
cc @ebroto (sorry I forgot about this, since we talked about the backport 3 weeks ago 😐)
r? @pietroalbini