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

Missing { … } for needless_for_each C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied L-suggestion Lint: Improving, adding or fixing lint suggestions
#14734 opened May 4, 2025 by madonuko
manual_flatten doesn't follow its suggestion to remove if let statement leading to broken code C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14692 opened Apr 25, 2025 by ulrichstark
option_if_let_else suggested fix is invalidated by borrow checker C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14587 opened Apr 11, 2025 by mi2ebi
equatable_if_let ignores repeating macro variables C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied L-nursery Lint: Currently in the nursery group
#14548 opened Apr 4, 2025 by mi2ebi
clippy --fix generates unbuildable code for a useless_vec fix C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14531 opened Apr 3, 2025 by martinling
Clippy might suggest code that can resolve to multiple alternatives C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied P-low Priority: Low
#14498 opened Mar 29, 2025 by samueltardieu
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 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
needless_borrow emitted on expression that changes types when & is removed 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
#14352 opened Mar 4, 2025 by antonilol
clippy::useless_conversion suggested fix breaks code with 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
#14322 opened Feb 28, 2025 by m-mueller678
.last() to .next_back() might extend the lifetime of the receiver 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
#14238 opened Feb 17, 2025 by samueltardieu
redundant_closure suggested fix fails to compile due to lifetime requirements 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
#14215 opened Feb 13, 2025 by ian-h-chamberlain
collapsible_match suggestion incomplete C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14155 opened Feb 5, 2025 by nk9
nonminimal_bool and is_x86_feature_detected 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 T-macros Type: Issues with macros and macro expansion
#14153 opened Feb 5, 2025 by GoldsteinE
failed to automatically apply fixes suggested by rustc to crate riscv_emu_rust C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14134 opened Feb 2, 2025 by tommythorn
lines_filter_map_ok: Incorrect suggestion when Result is a type alias C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14128 opened Feb 1, 2025 by taiki-e
Clippy can not fix the following issues C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14120 opened Jan 30, 2025 by iajoiner
iter_without_into_iter suggests doubly incorrect IntoIter type C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#14004 opened Jan 15, 2025 by samueltardieu
Compile error after applying clippy::identity_op C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#13924 opened Jan 1, 2025 by dhedey
ref-as-ptr causes compiler error 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
#13910 opened Dec 30, 2024 by matthiaskrgr
clippy --fix barfs trying to convert Into to From C-bug Category: Clippy is not doing the correct thing I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#13897 opened Dec 29, 2024 by nirbheek
impl AsyncFn used as argument for function that takes impl Fn passed as closure triggers clippy::redundant_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 I-suggestion-causes-error Issue: The suggestions provided by this Lint cause an ICE/error when applied
#13892 opened Dec 28, 2024 by sigurd4
ProTip! Find all open issues with in progress development work with linked:pr.