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
Sort

Issues list

Needlessly Verbose Replacement Suggestion for needless_return C-bug Category: Clippy is not doing the correct thing
#14750 opened May 7, 2025 by fennewald
needless_return false positive when combined with cfg'd code afterwards 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
#14474 opened Mar 25, 2025 by DianaNites
Automatic fix fails for assert_eq! macros 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
#13806 by yourlogarithm was closed Feb 7, 2025
needless_return doesn't trigger properly 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
#13577 opened Oct 21, 2024 by joshuachp
False positive for needless_return (there is no return!) C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13535 by nicoburns was closed Oct 11, 2024
False positive for what Clippy thinks are return statements, but which aren't. C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13526 by TYTheBeast was closed Oct 10, 2024
False needless_return trigger + invalid suggestion C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13486 by zeenix was closed Oct 10, 2024
rustc 1.83.0-nightly clippy wrongly report needless_return C-bug Category: Clippy is not doing the correct thing
#13479 by yipu3 was closed Oct 10, 2024
Clippy Uneeded Return C-bug Category: Clippy is not doing the correct thing
#13467 by cycle-five was closed Oct 10, 2024
Incorrect clippy::needless_return on async tests in latest nightly C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13458 by amircodota was closed Oct 10, 2024
Specifying reason in expect(clippy::needless_return) triggers false positive "this lint expectation is unfulfilled" C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13366 by schuetzm was closed Sep 25, 2024
False positive with expect(clippy::collapsible_else_if) inside the else block C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13365 opened Sep 7, 2024 by schuetzm
undocumented_unsafe_blocks false positives around attributes C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#13189 opened Jul 30, 2024 by ojeda
Compiler errors after clippy fixes. Maybe issue with WebAssembly attribute. 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
#12932 opened Jun 14, 2024 by PaulXiCao
Removing return not sugggested by needless_return when calling some chained string methods 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
#12907 by cyrgani was closed Sep 7, 2024
Warning emitted for non-canonical implementations conflicts with denying implicit and needless 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
#12683 by siddiqua1 was closed Apr 24, 2024
ICE in NEEDLESS_RETURN when building lint span C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
#12328 by sunowfox was closed Mar 15, 2024
Autofix for needless_return with unsafe block produces invalid code C-bug Category: Clippy is not doing the correct thing
#12157 by harrysarson-signaloid was closed Mar 16, 2025
expect attribute supressing lint, but then saying it's not fulfilled A-lint Area: New lints C-bug Category: Clippy is not doing the correct thing
#12998 by asquared31415 was closed Jul 3, 2024
needless_return_with_question_mark false positive when ? converts Error type C-bug Category: Clippy is not doing the correct thing I-false-positive Issue: The lint was triggered on code it shouldn't have
#11982 by overvenus was closed Jan 29, 2024
wrong spans for needless_return if there are braces before return C-bug Category: Clippy is not doing the correct thing L-suggestion Lint: Improving, adding or fixing lint suggestions
#11643 by matthiaskrgr was closed May 7, 2025
debug ice: needless_return suggestion removes code which isnt there inside macro C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️ L-suggestion Lint: Improving, adding or fixing lint suggestions
#11167 by matthiaskrgr was closed Jul 17, 2023
ProTip! Find all open issues with in progress development work with linked:pr.