semicolon_if_nothing_returned
FP on let-else
statements
#7912
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:
semicolon_if_nothing_returned
I tried this code:
I expected to see this happen: nothing
Instead, this happened:
semicolon_if_nothing_returned
fires and suggests adding another colon after closing bracesMeta
playground: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=7dd2867755b28e12cad7ba9b01f67eae
related: #7877 (comment)
The text was updated successfully, but these errors were encountered: