manual_map recommends noncompilable code involving async code #6819
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 manual_map lint
Instead, this happened:
help: try this: `opt.map(|sender| some_async_operation(data).await)`
Meta
cargo clippy -V
: clippy 0.1.52 (98f8cce 2021-02-25)rustc -Vv
:The text was updated successfully, but these errors were encountered: