chore(consensus): enable pedantic and nursery clippy lints#2870
chore(consensus): enable pedantic and nursery clippy lints#2870
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2870 +/- ##
============================================
- Coverage 68.31% 68.31% -0.01%
Complexity 739 739
============================================
Files 1052 1052
Lines 84745 84744 -1
Branches 61277 61276 -1
============================================
- Hits 57892 57891 -1
- Misses 24481 24482 +1
+ Partials 2372 2371 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
86c4bc9 to
9dc3161
Compare
| [lints.clippy] | ||
| enum_glob_use = "deny" | ||
| pedantic = "deny" | ||
| nursery = "deny" |
There was a problem hiding this comment.
arent nursery lints explicitly unstable? clippy may rename, remove, or introduce false positives for them between releases. With "deny", any such upstream change becomes a hard build failure the next time the toolchain is bumped past 1.93.0.
why dont you consider using "warn" here instead; you get the same enforcement by failing on warnings in CI, without the risk of a toolchain update unexpectedly breaking the consensus crate. I see core/bench already does the same, so it might be worth revisiting that one too.
No description provided.