issues
search
rust-lang
/
rust-clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
10.89k
stars
1.45k
forks
source link
issues
Least recently updated
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
suggest `map` or `map_err` when only the `Ok()` or `Err()` values are changed, respectively, in a pattern match
#11211
darklyspaced
opened
9 months ago
3
clippy::manual_retain on self already borrowed as immutable
#11606
alphastrata
opened
7 months ago
1
improve [`match_same_arms`] messages, enable rustfix test
#12794
J-ZhengLi
opened
18 hours ago
9
Update book for backport, release and sync
#12762
flip1995
opened
1 week ago
2
Josh preparations
#12759
flip1995
opened
1 week ago
5
Suggested lint: avoid `&mut` to `*const` coercions
#12791
joshlf
opened
2 days ago
6
`significant_drop_in_scrutinee`: Trigger lint only if lifetime allows early significant drop
#12740
lrh2000
opened
1 week ago
7
`significant_drop_in_scrutinee`: Fix false positives due to false drops of place expressions
#12764
lrh2000
closed
15 hours ago
8
`tracing::instrument` triggers `blocks_in_conditions`
#12281
fenollp
opened
3 months ago
11
`match` with default branch that would better be `let-else`.
#12793
ltratt
opened
20 hours ago
2
redundant_slicing suggests change that doesn't compile.
#12751
Dirbaio
opened
1 week ago
1
False positive `significant_drop_in_scrutinee` if matching on a `MutexGuard` even if it is still used afterwards
#9072
sdroege
closed
15 hours ago
2
significant-drop-in-scrutinee when false positive
#8963
aviramha
closed
15 hours ago
4
Lint direct priority conflicts in `[workspace.lints]`
#12730
Alexendoo
closed
1 day ago
5
`assigning_clones`: move to `pedantic` so it is allow by default
#12779
de-vri-es
opened
5 days ago
8
`non_canonical_clone_impl` should skip proc macros
#12788
matthiaskrgr
opened
2 days ago
1
New lint: adding a `char` to a String through `to_string()`
#12775
jakubdabek
opened
6 days ago
2
fix: unnecessary_filter_map return of Some arg
#12766
omer-shtivi
opened
1 week ago
1
False positive on unnecessary_unwrap where more than one value gets checked then unwrapped
#11513
rscarson
opened
8 months ago
8
`ref_as_ptr` example does not emit warnings
#12771
y21
opened
1 week ago
1
`impl_trait_in_params` doesn't work for non-public functions
#12792
CobaltCause
opened
1 day ago
2
Fix #12760
#12790
c410-f3r
opened
2 days ago
1
New lint: [`duplicate_map_keys`]
#12575
SeseMueller
opened
1 month ago
3
Add lint which checks that duration conversion aren't losing precision
#12539
declanvk
opened
1 month ago
10
new lint: `zombie_processes`
#11476
y21
opened
8 months ago
12
new lint: `macro_metavars_in_unsafe`
#12107
y21
closed
1 day ago
29
add new lint that disallow renaming parameters in trait functions
#11540
J-ZhengLi
closed
1 day ago
23
Lint to disallow renaming function parameters
#11443
Centri3
closed
1 day ago
3
lint against renaming of method arguments in trait impls
#486
oli-obk
closed
1 day ago
3
make [`from_str_radix_10`] skip constant context
#12787
J-ZhengLi
closed
1 day ago
5
`from_str_radix_10` lint shows up in const contexts when the suggestion is not const
#12731
doonv
closed
1 day ago
1
Handle `rustc_on_unimplemented` in duplicated_attributes
#12620
Nilstrieb
closed
1 day ago
9
Incorrect handling of rustc_on_unimplemented for duplicated_attributes
#12619
Nilstrieb
closed
1 day ago
0
Lint telling me to needlessly increase memory footprint
#12786
amab8901
opened
3 days ago
2
add lint for empty `vec!` invocation
#12774
andrewbanchich
opened
6 days ago
2
Format error in suggestion for `needless_lifetimes`
#12789
rodrigorc
opened
2 days ago
0
Add new lint `doc_lazy_continuation`
#12770
notriddle
closed
2 days ago
5
Add new lint `while_float`
#12765
yusufraji
opened
1 week ago
3
Unifying an invariant lifetime with a covariant one is almost always bad
#12657
cbiffle
opened
1 month ago
1
fix [`undocumented_unsafe_blocks`] FP with trait/impl items
#12672
J-ZhengLi
opened
1 month ago
0
`undocumented_unsafe_blocks` doesn't recognise safety comments before `const`s in `impl` blocks
#12720
Spartan2909
opened
2 weeks ago
1
Different trade-offs for `or_fun_call` false positives
#12724
kornelski
opened
2 weeks ago
0
EPSILON is a bad error margin and should not be recommended [float_cmp]
#6816
CAD97
opened
3 years ago
11
Changelog for Clippy 1.78 :magic_wand:
#12735
xFrednet
closed
1 week ago
9
make [`manual_map`] ignore types that contain `dyn`
#12712
J-ZhengLi
opened
2 weeks ago
2
Avoid emitting `assigning_clones` when cloned data borrows from the place to clone into
#12756
y21
opened
1 week ago
2
Ignore `_to_string` lints in code `from_expansion`
#12780
future-highway
closed
4 days ago
5
fix: use hir_with_context to produce correct snippets for assigning_clones
#12783
shanretoo
closed
4 days ago
7
assigning_clones: suggested code contains expanded macro
#12776
mistydemeo
closed
4 days ago
0
ICE when invoking `cargo clippy --fix`
#12784
Zoybean
closed
4 days ago
4
Next