manual_flatten
suggests code that does not compile
#7538
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_flatten
I tried this code:
I expected to see this happen: The lint should not have been emitted. Alternately, the suggestion should have resulted in code that compiled.
Instead, this happened: The
Quick fix
resulted in code that did not compile.Meta
cargo clippy -V
: clippy 0.1.54 (a178d032 2021-07-26)rustc -Vv
:The text was updated successfully, but these errors were encountered: