manual_map thinks rust has non-local control flow in closures #6857
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Lint name: manual_map
I tried this code:
I expected to see this happen: No warning, because this is non-trivial to replicate with combinators.
Instead, this happened: Clippy warned that this can use
map
:and then fails to apply its own suggestion:
Meta
cargo clippy -V
: clippy 0.1.52 (45b3c28 2021-03-04)rustc -Vv
:The text was updated successfully, but these errors were encountered: