manual_flatten suggests uncompilable code on slice of references #6893
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Lint name:
manual_flatten
For the following code:
The lint suggests replacing the loop with:
However, this doesn't compile, because
&&Option<{integer}> is not an iterator
.What does compile is
Meta
The text was updated successfully, but these errors were encountered: