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

Clippy doesn't recognize cfg(test) in [cfg(any(test, feature = ... ))], causing incorrect import removals 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
#14278 opened Feb 22, 2025 by BatmanAoD
incompatible_msrv false negative: tests 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
#14277 opened Feb 22, 2025 by bryceberger
doc_overindented_list_items false positive expecting fewer spaces C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14275 opened Feb 22, 2025 by azriel91
too_long_first_doc_paragraph suggestion doesn't shorten the first line, and '--fix' adds a new line on every invocation 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
#14274 opened Feb 22, 2025 by BatmanAoD
CARGO_INCREMENTAL=0 prevents clippy::std_instead_of_* from warning on mixed std/core imports C-bug Category: Clippy is not doing the correct thing
#14273 opened Feb 21, 2025 by cwfitzgerald
Useless conversion error when using PyResult<PyObject> in pyo3 C-bug Category: Clippy is not doing the correct thing
#14272 opened Feb 21, 2025 by edlng
suspicious-doc-comment shouldn't trigger for #[doc = "!.."] comments C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14265 opened Feb 20, 2025 by JarredAllen
References within Rc/Arc may not be meaningful A-lint Area: New lints
#14260 opened Feb 20, 2025 by A4-Tacks
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
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
2
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
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
ProTip! Updated in the last three days: updated:>2025-02-20.