rust-clippy · Issues· 2875 open
Open on GitHubLocally synced open issues (discussions stay on GitHub)
- #17702
Add a lint for `NonZero`::new(0) literal type footgun
A-lintUpdated Sep 18, 2026 - #15829
`unnecessary_lazy_evaluations`: lint `{Option,Result}::map_or_else`
good first issueC-enhancementUpdated Sep 18, 2026 - #16882
"View Source" links on website always link to dynamic `master` branch
A-documentationUpdated Sep 18, 2026 - #15997
Rename (and combine) `unnecessary_option_map_or_else` and `unnecessary_result_map_or_else`
A-categoryUpdated Sep 18, 2026 - #17475
double_parens: consider one diagnostic instead of one per pair?
C-enhancementD-confusingUpdated Sep 18, 2026 - #17297
`empty_enums` doesn't account for how the type is used
C-bugI-false-positiveL-nurseryUpdated Sep 18, 2026 - #17755
cast_possible_wrap false negative
C-bugI-false-negativeUpdated Sep 18, 2026 - #16356
`if_same_then_else` triggers when bodies only differ in attributes
C-bugI-false-positiveUpdated Sep 18, 2026 - #17043
`redundant_type_annotations` conflicts with `let_underscore_untyped`
C-bugI-false-positiveL-restrictionUpdated Sep 18, 2026 - #8031
New lint: generalize `exit`, `todo`, `mem_forget`, etc.
A-lintG-Rust-for-LinuxUpdated Sep 17, 2026 - #14333
`manual_div_ceil` suggests change that could alter behaviour
G-Rust-for-LinuxUpdated Sep 17, 2026 - #14827
incompatible_msrv doesn't respect #[cfg(version(...))]
G-Rust-for-LinuxUpdated Sep 17, 2026 - #17724
test_attr_in_doctest emits for attribute not related to actual test functions
C-bugI-false-positiveUpdated Sep 17, 2026 - #14477
feature request: `#[feature]` awareness in MSRV-gated lints
G-Rust-for-LinuxUpdated Sep 17, 2026 - #17384
Since 1.97 Clippy flags else return { None } under question_mark, even in longer chains
C-bugI-false-positiveUpdated Sep 17, 2026