Repository Issues
rust-lang/rust-clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
Issues
Open
TOCTOU: call `Path::metadata` after `Path::exists`
A-lintgood first issue
Has a beginner-friendly labelContributing guide available
2 comments1 reaction1 assignee
Open
Lint suggestion: `manual_isolate_lowest_one`
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
3 comments0 reactions1 assignee
Open
Detect creation of new collection when it could be emptied
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
5 comments0 reactions1 assignee
Open
Add lint for `bare_must_use` - `#[must_use]` without a note
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
5 comments1 reaction1 assignee
Open
Rewrite `arithmetic_side_effects` to not use matching on string representation of types
C-enhancementgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
1 comment1 reaction1 assignee
Open
`needless_range_loop` suggestion removes panics
C-bugI-suggestion-causes-buggood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
6 comments0 reactions1 assignee
Open
Lint for unused empty function value
C-bugI-false-negativegood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
10 comments0 reactions1 assignee
Open
Lint for .clone().into_boxed_str()
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
4 comments0 reactions1 assignee
Open
`unnecessary_lazy_evaluations`: lint `{Option,Result}::map_or_else`
C-enhancementgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
14 comments0 reactions1 assignee
Open
Error applying suggestions (range underflow)
C-buggood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
19 comments0 reactions1 assignee
Open
Document `pub` functions in `clippy_utils`
good first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
11 comments0 reactions1 assignee
Open
Move `excessive_nesting` to `pedantic`
A-categorygood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
3 comments0 reactions1 assignee
Open
Suggest `A && B` for `if A { B } else { false }`
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
6 comments5 reactions1 assignee
Open
lint idea: `useless_default_generic_parameters`
A-lintG-Rust-for-Linuxgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
12 comments3 reactions1 assignee
Open
`cast_lossless` not triggered by `char as u32`
C-bugI-false-negativegood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
4 comments1 reaction1 assignee
Open
Refactor the `clippy_lints/src/strings.rs` file
E-help-wantedgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
17 comments0 reactions1 assignee
Open
`std_wildcard_imports` to lint against `use std::mod::*`
A-lintE-help-wantedgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
4 comments1 reaction1 assignee
Open
Deny `static mut` declarations entirely
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
13 comments3 reactions1 assignee
Open
Add lints against more manual integer ops where direct methods exist
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
6 comments1 reaction1 assignee
Open
Ban Stacked `if`'s
A-lintgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
10 comments32 reactions1 assignee