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

unnecessary_lazy_evaluations is suggested for async 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
#14578 by kb10uy was closed Apr 17, 2025
unnecessary_lazy_evaluations incorrectly suggest to eagerly evaluate unsafe 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
#13438 by AngelicosPhosphoros was closed Sep 22, 2024
Wrong help message suggested for unwrap_or_else C-bug Category: Clippy is not doing the correct thing
#13293 by nichmor was closed Aug 24, 2024
regression: unnecessary_lazy_evaluations not triggered on thiserror enum variant 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
#13249 opened Aug 10, 2024 by birkenfeld
unnecessary_lazy_evaluations suggests running unsafe code eagerly C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13226 opened Aug 6, 2024 by kornelski
unnecessary_lazy_evaluations does not take into account utility of laziness to avoid addition/subtraction over/underflowing C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11961 by rben01 was closed Dec 14, 2023
unnecessary_lazy_evaluations suggests a fix that panics C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11931 by tuxbzh was closed Feb 8, 2024
unnecessary_lazy_evaluations fix causes a panic when used with Range::contains() C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11930 by rezzubs was closed Feb 9, 2024
unnecessary_lazy_evaluations gives wrong suggestions for then C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11793 by danieledapo was closed Nov 17, 2023
clippy::unnecessary_lazy_evaluations produces a suggestion that would cause a divide-by-zero panic, despite the original code not causing such 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
#11722 by LikeLakers2 was closed Oct 27, 2023
unnecessary_lazy_evaluations suggests wrong 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
#11672 opened Oct 15, 2023 by barafael
unnecessary_lazy_evaluations and once_cell::sync::Lazy C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#10462 by arifd was closed Jun 7, 2023
unnecessary_lazy_evaluations and Deref 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
#10437 by Kyuuhachi was closed Jun 5, 2023
clippy::unnecessary_lazy_evaluations false positive when laziness prevents underflow C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#10071 by krtab was closed Dec 18, 2022
bool::then -> bool::then_some within unnecessary_lazy_eval can suggest fixes that can panic C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#9814 by alokedesai was closed Nov 17, 2023
unnecessary closure used with bool::then in field definition C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#9485 by xerenahmed was closed Sep 30, 2022
unnecessary_lazy_evaluations gets triggered by a derive 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
#9439 by griffi-gh was closed Sep 30, 2022
unnecessary_lazy_evaluations: Shouldn't warn about values with significant Drop impl 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
#9427 by sdroege was closed Nov 22, 2022
unnecessary_lazy_evaluations suggestion causes panic on bool::then C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#9422 by barryfam was closed Nov 17, 2023
panic w/ clippy 0.1.63 (4b91a6ea 2022-08-08) C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#9358 by joshuef was closed Aug 28, 2022
Cargo clippy crashes on veloren with nightly-2022-07-19 C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#9238 by xMAC94x was closed Jul 25, 2022
unnecessary_lazy_evaluations does not take cost of expression into account C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#8522 opened Mar 11, 2022 by jhpratt
unnecessary_lazy_evaluations help produces code which formatted differently than rustfmt C-bug Category: Clippy is not doing the correct thing
#8394 opened Feb 4, 2022 by Fishrock123
ProTip! Type g i on any issue or pull request to go back to the issue listing page.