elseif
being shown, when it doesn't exist.
#7318
Labels
C-bug
Category: Clippy is not doing the correct thing
elseif
being shown, when it doesn't exist.
#7318
I tried this code:
I expected to see this happen: I expected to be warned about turning it into
}else if let
Instead, this happened: Instead, I got
}elseif let
.Meta
cargo clippy -V
: clippy 0.1.52 (9bc8c42 2021-05-09)rustc -Vv
:The text was updated successfully, but these errors were encountered: