unnecessary_unwrap
emitted twice in closure
#14763
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
The
unnecessary_unwrap
can be emitted twice in a closure.Reproducer
I tried this code:
and ran
clippy-driver t.rs -Z deduplicate-diagnostics=no
I expected to see this happen: one
unnecessary_unwrap
lintInstead, this happened:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: