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
`std_wildcard_imports` to lint against `use std::mod::*`
A-lintE-help-wantedgood first issue
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
Open
Configuring clippy in Cargo.toml missing from documentation?
A-documentationgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
9 comments3 reactions1 assignee
Open
unusual_byte_groupings triggers for binary literals
C-bugI-false-positivegood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
7 comments1 reaction1 assignee
Open
Have a lint against usize-to-u64 casts (or, against *all* integer casts)
A-lintgood first issue
Why recommendedNo assignee yet · Has a beginner-friendly label
No assignee yetHas a beginner-friendly labelContributing guide available
23 comments2 reactions0 assignees
Open
blacklisted_name should not be triggered in tests
C-bugI-false-positivegood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
5 comments0 reactions1 assignee
Open
`or_fun_call` isn't always a performance lint
A-categoryL-nurserygood first issue
Why recommendedNo assignee yet · Has a beginner-friendly label
No assignee yetHas a beginner-friendly labelContributing guide available
11 comments0 reactions0 assignees
Open
Manual assert_eq! (enhance `if_then_panic`)
C-enhancementgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
7 comments0 reactions1 assignee
Open
Suggest usage of `array.as_slice()` (instead of `&array[..]`) and `array.as_mut_slice()`
A-lintL-restrictiongood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
6 comments2 reactions1 assignee
Open
`manual_flatten` false positives with reference slices
C-bugI-false-positiveI-suggestion-causes-errorgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
12 comments1 reaction1 assignee
Open
website: cognitive complexity does insufficiently explain method
A-documentationgood first issue
Why recommendedNo assignee yet · Has a beginner-friendly label
No assignee yetHas a beginner-friendly labelContributing guide available
3 comments3 reactions0 assignees
Open
New lint: deref coercions
A-lintL-restrictiongood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
6 comments0 reactions1 assignee
Open
suspicious-operation-groupings generates a false positive, suggested code doesn't even compile
C-bugI-false-positiveI-suggestion-causes-errorgood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
8 comments0 reactions1 assignee
Open
needless_range_loop produces code with different behaviour
A-documentationL-suggestiongood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
13 comments3 reactions1 assignee
Open
Inconsistent underscores false positive?
C-enhancementgood first issue
Why recommendedNo assignee yet · Has a beginner-friendly label
No assignee yetHas a beginner-friendly labelContributing guide available
3 comments0 reactions0 assignees
Closed
assert_eq! with a literal float should probably fire float_cmp_const not float_cmp
C-bugI-false-positivegood first issue
Why recommendedNo assignee yet · Has a beginner-friendly label
No assignee yetHas a beginner-friendly labelContributing guide available
11 comments0 reactions0 assignees
Open
BufReader Stdin or StdinLock
A-lintL-perfT-middlegood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
12 comments2 reactions1 assignee
Open
Strange suggestion from suspicious_operation_groupings
C-bugI-false-positivegood first issue
Why recommendedHas a beginner-friendly label · Contributing guide available
Has a beginner-friendly labelContributing guide available
5 comments2 reactions1 assignee