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

Remove .copied() or .cloned() when possible A-lint Area: New lints
#13767 opened Dec 1, 2024 by nyurik
non_zero_suggestions is triggered when converting from a nonzero value to a larger unsigned value C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13757 opened Nov 29, 2024 by zacknewman
Warn about arithmetic before type cast/conversion A-lint Area: New lints
#13755 opened Nov 29, 2024 by oherrala
too_many_lines not triggered on functions with #[tracing::instrument] 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
#13753 opened Nov 29, 2024 by letkemann
Explicitly add ::/self:: on full path and import path A-lint Area: New lints
#13750 opened Nov 29, 2024 by KmolYuan
False positive when lifetime parameters are only used in where clauses 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
#13749 opened Nov 29, 2024 by GearsDatapacks
"spawned process is never waited on": Hint that wait() is not called on all code paths (e.g. early returns) C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13748 opened Nov 28, 2024 by th1000s
clippy::cargo lint is applied to sibling crates C-bug Category: Clippy is not doing the correct thing
#13745 opened Nov 28, 2024 by purplesyringa
poor suggestion on needless_pass_by_value on Option C-bug Category: Clippy is not doing the correct thing
#13744 opened Nov 28, 2024 by dev-ardi
Official stance on how to return errors A-lint Area: New lints
#13741 opened Nov 27, 2024 by dev-ardi
clippy::let_and_return suggestion causes error because value does not live long enough 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
#13735 opened Nov 26, 2024 by antonilol
Duration arithmetic A-lint Area: New lints
#13734 opened Nov 26, 2024 by sharksforarms
#[expect(...)] attribute not working for clippy::assertion_on_constant C-bug Category: Clippy is not doing the correct thing
#13729 opened Nov 25, 2024 by ethanmsl
Don't emit ptr_arg warning about unused function arguments 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
#13728 opened Nov 25, 2024 by orlp
Inconsistent handling of to_string() removal suggestion between field and method access 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
#13726 opened Nov 25, 2024 by ecpost
if_assert A-lint Area: New lints
#13725 opened Nov 25, 2024 by Rudxain
mut_mutex_lock in closures doesn't consider Fn bound C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13720 opened Nov 23, 2024 by Jasonshengxi
Formalize a Clippy benchmarking tool + Server performance-project For issues and PRs related to the Clippy Performance Project
#13714 opened Nov 20, 2024 by blyxyas
List item in doc comment starting with escaped [ makes clippy calculate indent wrong 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
#13705 opened Nov 19, 2024 by maia-s
ProTip! Updated in the last three days: updated:>2024-11-27.