never_loop false positive on unconditional break to internal labeled block #9831
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
Having an internal labeled block which is always broken to causes a false positive on never_loop.
Lint Name
never_loop
Reproducer
I tried this code: (playground)
I saw this error:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: