-
Notifications
You must be signed in to change notification settings - Fork 4.5k
clippy 0.1.70: 2023-03-18: Apply suggestions, disable false positives #30808
Conversation
…le false positives
Codecov Report
@@ Coverage Diff @@
## master #30808 +/- ##
=======================================
Coverage 81.4% 81.4%
=======================================
Files 725 725
Lines 203465 203465
=======================================
Hits 165740 165740
Misses 37725 37725 |
I can split this into multiple PRs – one per package, if anyone thinks it would simplify the review process. |
Can you please add to the problem statement details about why we care about lints from this particular version of nightly? (Also, see #30664 for discussion about which nightly the monorepo will adopt with rust v1.68) |
My bad. I should have checked the specific version of nightly that we use. 3 rules are triggered:
I wonder if the last 2 got improved in the nightly version of Clippy. If we do not want to deal with this for now, I can probably just close it. |
We tend to do these sorts of fixes in one fell swoop when we upgrade the version of rust on the master branch, which means we can usually avoid transient nightly warnings. We could move forward with these changes, minus all the comments about |
Makes sense.
I'll just close it for now. Sorry for the noise. |
Problem
Clippy does not like a few things in the current
master
Summary of Changes
Apply suggestions, and disable a few false positives with an explanatory comment.