Skip to content

Issues: rust-lang/rust-clippy

Most commonly ignored lints on crates.io
#7666 by dtolnay was closed Oct 9, 2022
Closed 23
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

False positive needless_match for even simple example C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have I-suggestion-causes-bug Issue: The suggestion compiles but changes the code to behave in an unintended way
#14754 opened May 8, 2025 by yezhizhen
Lifetime error following unnecessary_to_owned going from .to_vec().into_iter() to .iter().copied() C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14711 opened Apr 30, 2025 by ginnyTheCat
self_named_module_files implementation is broken C-bug Category: Clippy is not doing the correct thing I-false-negative Issue: The lint should have been triggered on code, but wasn't I-false-positive Issue: The lint was triggered on code it shouldn't have
#14697 opened Apr 27, 2025 by TimNN
unfulfilled_lint_expectation warns on a lint that happens at MSRV but not at nightly C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14695 opened Apr 27, 2025 by ilyagr
[False Positive] Regarding adding const to a function that can't be const C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14658 opened Apr 20, 2025 by leonardo-m
[False Positive] About removing a into_iter() from an ops::Range C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14656 opened Apr 20, 2025 by leonardo-m
Getting "unknown lint: clippy::elidable_lifetime_names" using clippy 1.85.1 C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14653 opened Apr 19, 2025 by corneliusroemer
comparison_chain: don't warn unless all branches are used C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages I-false-positive Issue: The lint was triggered on code it shouldn't have L-suggestion Lint: Improving, adding or fixing lint suggestions
#14624 opened Apr 16, 2025 by tgross35
match_like_matches_macro should offer str comparison C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14612 opened Apr 15, 2025 by nyurik
Don't lint rustfmt deprecated_cfg_attr on expr C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14606 opened Apr 14, 2025 by A4-Tacks
False-positive explicit_deref_methods on method chains C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14593 opened Apr 11, 2025 by dima74
false positive for no_effect_underscore_binding when drop is implemented for a field of the assigned struct C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14592 opened Apr 11, 2025 by koalatux
False positive for only_used_in_recursion for trait implementations C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14566 opened Apr 8, 2025 by DerGut
needless_continue false positive C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14550 opened Apr 4, 2025 by asibahi
shadow_unrelated closure acceptance is defeated by wrapping the closure in a pointer C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14537 opened Apr 3, 2025 by kpreid
clippy::missing_panics_doc still triggering even with expect or allow on individual unwraps C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14534 opened Apr 3, 2025 by hasezoey
undocumented_unsafe_blocks doesn't honour #[allow(clippy::all)] C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14519 opened Apr 2, 2025 by wngr
option_if_let_else suggests code that doesn't compile C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14484 opened Mar 27, 2025 by edwloef
needless_return false positive when combined with cfg'd code afterwards C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14474 opened Mar 25, 2025 by DianaNites
clippy::indexing_slicing triggers when using an index returned by binary search C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14452 opened Mar 22, 2025 by lopopolo
incompatible_msrv false positive: enabled unstable feature C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14425 opened Mar 17, 2025 by tamird
cognitive_complexity lint includes code expanded from macro in calculated complexity C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14417 opened Mar 16, 2025 by KonaeAkira
Clippy suggests broken code when modifying union fields behind ManuallyDrop C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14386 opened Mar 10, 2025 by abgros
manual_async_fn suggests code with incompatible lifetimes C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14372 opened Mar 7, 2025 by SpecificProtagonist
unnecessary_cast fix suggestion introduces compile error for (expr_with_float_literals as f64).powf(2.0) C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14366 opened Mar 6, 2025 by trevoranderson
ProTip! Follow long discussions with comments:>50.