collapsible_else_if
lint false positive
#14722
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
Uh oh!
There was an error while loading. Please reload this page.
Summary
There is a bug in the
collapsible_else_if
lint that shows an irrelevant warning about collapsing else if statements when it shouldn't.Lint Name
collapsible_else_if
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
No warning.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: