almost_swapped with let #8151
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Summary
produces lint correctly, but adding
let
does not:Lint Name
almost_swapped
Reproducer
I tried this code:
I expected to see this happen:
Instead, this happened:
Version
The text was updated successfully, but these errors were encountered: