needless_continue
false positive
#14550
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
Summary
I have been directed to open this as an issue.
I got a false positive for this lint, including this (honestly absurd)
loop match
construct.Removing the
continue
gives me a compiler error.This is easily worked around by wrapping the
err?
expression in braces and a semicolon. But it is why I added thecontinue
in the first place.Lint Name
needless_continue
Reproducer
Shown above.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: