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
Beta
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
Assigned to nobody Loading
Sort

Issues list

False positive in unnecessary_to_owned when a mutable borrow would cause a 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
#14918 opened May 30, 2025 by shssoichiro
[PERF] Instantiations are getting too far performance-project For issues and PRs related to the Clippy Performance Project
#14902 opened May 26, 2025 by blyxyas
33 tasks
unnecessary_to_owned false positive when keying HashSet<&String> C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14833 by your-diary was closed May 18, 2025
Lifetime error following unnecessary_to_owned going from .to_vec().into_iter() to .iter().copied() C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#14711 opened Apr 30, 2025 by ginnyTheCat
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 by SLUCHABLUB was closed Mar 5, 2025
Remove .copied() or .cloned() when possible A-lint Area: New lints
#13767 opened Dec 1, 2024 by nyurik
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
False positive: cow and into_owned C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13624 by Hofer-Julian was closed Jan 12, 2025
Tracking Issue: Fix auto-applicable lint suggestions by using multipart suggestions C-tracking-issue Category: Tracking Issue E-medium Call for participation: Medium difficulty level problem and requires some initial experience. good first issue These issues are a good way to get started with Clippy
#13099 opened Jul 15, 2024 by flip1995
12 of 13 tasks
Some warnings are not reported if rust-src component is not installed C-bug Category: Clippy is not doing the correct thing
#12837 opened May 23, 2024 by Disasm
unnecessary_to_owned suggestion cause error when interacting with println! macro 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
#12821 by GitPinkRabbit was closed May 27, 2024
unnecessary_to_owned suggestion changes maybe-cloning to always-cloning C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#12806 by kpreid was closed May 8, 2025
unnecessary_to_owned false positive when iterating over Copy types. 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
#12326 opened Feb 20, 2024 by jiftoo
unnecessary_to_owned causes borrowing error after removing to_vec 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
#12098 by DervexDev was closed May 9, 2024
Latest nightly issue C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have T-middle Type: Probably requires verifiying types
#12068 by amircodota was closed Jan 5, 2024
[ICE clippy] thread 'rustc' panicked at compiler/rustc_trait_selection/src/traits/project.rs:484:9 C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#12014 by 56quarters was closed Dec 29, 2023
Clippy ICE due to async gen block support C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#11965 by P1n3appl3 was closed Dec 15, 2023
[ICE clippy]: 'rustc' panicked at compiler/rustc_infer/src/infer/at.rs:453:17 C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#11952 by StackOverflowExcept1on was closed Dec 13, 2023
1 task done
clippy warning fix for "unnecessary use" causes compile error "cannot move out of borrowed" C-bug Category: Clippy is not doing the correct thing
#11763 opened Nov 6, 2023 by cbanu
Erronous "unnecessary use of to_string" with colored::ColoredString C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11102 by stevecheckoway was closed Jul 4, 2023
Incorrect suggestion for unnecessary_to_owned when moving into 'static closure 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
#10048 opened Dec 7, 2022 by AaronC81
ProTip! Type g i on any issue or pull request to go back to the issue listing page.