Lints on nightly rust?
#16815
-
|
What's the policy with regard for lints on nightly rust features? Does clippy support this? Inspired by this comment on a Reddit thread about the nightly |
Beta Was this translation helpful? Give feedback.
Answered by
flip1995
Apr 7, 2026
Replies: 1 comment
-
|
Yes, we allow adding lints for nightly features. The first thing the lint implementation will have to check is if the feature is enabled. See for example the rust-clippy/clippy_lints/src/empty_enums.rs Lines 64 to 65 in c4e5a77 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stephenlf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, we allow adding lints for nightly features. The first thing the lint implementation will have to check is if the feature is enabled.
See for example the
EMPTY_ENUMSlint:rust-clippy/clippy_lints/src/empty_enums.rs
Lines 64 to 65 in c4e5a77