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

Incorrectly printed suggestion for map(<f>).unwrap_or(false) on multiple lines C-bug Category: Clippy is not doing the correct thing
#13242 opened Aug 9, 2024 by oscargus
duplicated_attributes: false positive with apistos crate C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13238 opened Aug 8, 2024 by gschulze
indexing does not trigger missing_panics_doc 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
#13229 opened Aug 7, 2024 by antonilol
Print_* family of lints fail to match on async_trait functions with a return value 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
#13228 opened Aug 6, 2024 by wfchandler
redundant_locals incorrectly emitted when binding in new local scope for early drop C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13227 opened Aug 6, 2024 by SUPERCILEX
unnecessary_lazy_evaluations suggests running unsafe code eagerly C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13226 opened Aug 6, 2024 by kornelski
Clippy doesn't warn on self parameter for lints pass-by-value-size-limit and trivial-copy-size-limit 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
#13212 opened Aug 4, 2024 by x4exr
mut_mutex_lock emitted on a &mut &Mutex<T> 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
#13201 opened Aug 1, 2024 by dodomorandi
Running clippy on remoc master causes an ICE C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#13190 opened Jul 30, 2024 by surban
undocumented_unsafe_blocks false positives around attributes C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13189 opened Jul 30, 2024 by ojeda
byte_char_slices makes string assumption for the semantics of a &[u8] C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13188 opened Jul 30, 2024 by sholderbach
wildcard_imports is ignored in test crates 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
#13186 opened Jul 30, 2024 by Nemo157
manual_inspect suggestion breaks mutating code 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
#13185 opened Jul 30, 2024 by Swatinem
needless_pass_by_ref_mut should not trigger when values derived from the &mut are used in an unsafe block 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
#13172 opened Jul 27, 2024 by awused
False almost_complete_letter_range when the endpoint is matched separately C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13171 opened Jul 27, 2024 by cuviper
needless_borrows_for_generic_arg fires incorrectly on &mut variable inside closure C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13170 opened Jul 26, 2024 by zancas
needless_borrows_for_generic_args on large array C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13162 opened Jul 26, 2024 by fominok
Incorrect clippy::derivable_impls in the presence of conditional compilation 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
#13160 opened Jul 25, 2024 by VorpalBlade
needless_pass_by_value: Wrongly emit on Rc values C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13155 opened Jul 24, 2024 by dev-ardi
range_plus_one also triggers if both sides have a plus one C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13138 opened Jul 21, 2024 by Kriskras99
clippy::suspicious_operation_groupings creates code that fails to 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
#13137 opened Jul 21, 2024 by liquidhelium
Don't fire items_after_statements when the statement isn't used before its declaration C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13135 opened Jul 21, 2024 by SUPERCILEX
clippy::multiple_unsafe_ops_per_block and unused_unsafe not handled properly in nested unsafe calls/closures C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13134 opened Jul 20, 2024 by meadowsys
mutable_key_type doesn't account for custom Hash impl C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13109 opened Jul 16, 2024 by kchibisov
Cargo does not seem to always propagate cfg(clippy) correctly to dependencies C-bug Category: Clippy is not doing the correct thing
#13101 opened Jul 15, 2024 by rmalmain
ProTip! Adding no:label will show everything without a label.