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_asserts_for_indexing understands assert!(x.len()==2) but not assert_eq!(x.len(), 2) C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14255 opened Feb 19, 2025 by tv42
Update existing std::str::* lints to also check inherent_str_constructors C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages good-first-issue These issues are a good way to get started with Clippy
#14254 opened Feb 19, 2025 by tgross35
Refactor the clippy_lints/src/strings.rs file E-help-wanted Call for participation: Help is requested to fix this issue. good-first-issue These issues are a good way to get started with Clippy
#14253 opened Feb 19, 2025 by samueltardieu
unnecessary_to_owned in conjunction with reference counted slices and iterators C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14242 opened Feb 17, 2025 by SLUCHABLUB
.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
incompatible_msrv fails to detect std::iter::repeat_n 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
#14212 opened Feb 13, 2025 by akonradi-signal
clippy::identity_op for int.pow(1) A-lint Area: New lints
#14206 opened Feb 12, 2025 by leonardo-m
missing_saftey_doc lint incorrectly triggers macro generated methods C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14190 opened Feb 10, 2025 by lolbinarycat
manual_slice_fill shouldn't apply when the fill is variable C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14189 opened Feb 10, 2025 by kornelski
Improve manual_strip fix suggestion
#14183 opened Feb 9, 2025 by nyurik
unneeded_struct_pattern triggers when matching 3rd-party crate's variant with { .. } C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14181 opened Feb 9, 2025 by obi1kenobi
[feat] report unused feature A-lint Area: New lints
#14178 opened Feb 9, 2025 by loynoir
string_to_string does not trigger inside a map function 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
#14175 opened Feb 8, 2025 by MarkusTieger
bad_bit_mask is misguided and the documentation is misleading & unnecessarily combative C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14167 opened Feb 6, 2025 by briansmith
Clippy fails to automatically fix issues for serde-json-core C-bug Category: Clippy is not doing the correct thing
#14157 opened Feb 5, 2025 by sirhcel
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
clippy::non_canonical_partial_ord_impl warns for canonical forwarding implementation C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14149 opened Feb 5, 2025 by hrxi
ProTip! no:milestone will show everything without a milestone.