Potential FN with map_identity
lint
#7189
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
Lint name:
map_identity
I tried this code: (Originally posted by @coolreader18 in RustPython/RustPython#2627 (comment))
I expected to see this happen: Clippy recognizing that this map is an identity function.
Instead, this happened: Clippy has no comment.
Meta
cargo clippy -V
: clippy 0.1.52 (88f19c6 2021-05-03)rustc -Vv
:The text was updated successfully, but these errors were encountered: