while_let
false positive with break checks before match statement
#771
Labels
C-bug
Category: Clippy is not doing the correct thing
Sample program:
Suggestion given completely ignores the possibility of breaking before the match is even reached. This is a trivial example, but it is possible the earlier checks are imperative for breaking the loop before something irreversible is called further in the body.
The text was updated successfully, but these errors were encountered: