false negative on clippy::filter_next when filter and next wraps map #6423
Labels
C-bug
Category: Clippy is not doing the correct thing
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
False negative when filter and next is wrapped around a map.
There might be a few other methods like map that will have the same effect.
I tried this code:
I expected to see this happen: Clippy to suggest
Instead, this happened: Nothing
Meta
cargo clippy -V
: e.g. clippy 0.0.212 (1c389ff 2020-11-24)rustrustc -Vv
:The text was updated successfully, but these errors were encountered: