needless_return
misfires in a let
-else
statement (RFC 3137)
#7637
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Lint name:
needless_return
I tried this code:
I expected to see this happen: No warnings emitted
Instead, this happened:
Meta
Rust version (
rustc -Vv
):The text was updated successfully, but these errors were encountered: