-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Issues: rust-lang/rust-clippy
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
Label
Projects
Milestones
Assignee
Sort
Issues list
Needlessly Verbose Replacement Suggestion for Category: Clippy is not doing the correct thing
needless_return
C-bug
#14750
opened May 7, 2025 by
fennewald
needless_return
false positive when combined with cfg'd code afterwards
C-bug
#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
[EXPLICIT] Keyword return (needless_return and implicit_return)
C-feature-request
#13761
by xavetar
was closed Dec 4, 2024
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 Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
needless_return
(there is no return!)
C-bug
#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 Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
needless_return
trigger + invalid suggestion
C-bug
#13486
by zeenix
was closed Oct 10, 2024
needless_return
triggered without a return statement
#13481
by dominikwilkowski
was closed Sep 30, 2024
rustc 1.83.0-nightly
clippy wrongly report needless_return
C-bug
#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 Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
expect(clippy::needless_return)
triggers false positive "this lint expectation is unfulfilled"
C-bug
#13366
by schuetzm
was closed Sep 25, 2024
False positive with Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
expect(clippy::collapsible_else_if)
inside the else
block
C-bug
#13365
opened Sep 7, 2024 by
schuetzm
undocumented_unsafe_blocks
false positives around attributes
C-bug
#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 Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
needless_return
when calling some chained string methods
C-bug
#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
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
#12998
by asquared31415
was closed Jul 3, 2024
needless_return_with_question_mark
false positive when ? converts Error type
C-bug
#11982
by overvenus
was closed Jan 29, 2024
Incosistency between
else_if_without_else
and needless_else
#11662
by c410-f3r
was closed Oct 13, 2023
wrong spans for needless_return if there are braces before Category: Clippy is not doing the correct thing
L-suggestion
Lint: Improving, adding or fixing lint suggestions
return
C-bug
#11643
by matthiaskrgr
was closed May 7, 2025
debug ice: 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
needless_return
suggestion removes code which isnt there inside macro
C-bug
#11167
by matthiaskrgr
was closed Jul 17, 2023
Previous Next
ProTip!
Find all open issues with in progress development work with linked:pr.