[False Positive] About removing a into_iter() from an ops::Range #14656
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
Summary
If I have this little Rust program:
Clippy gives me this warning:
But if I remove ".into_iter()" from the Rust program, the rustc compiler (1.88.0-nightly 2025-04-19) gives me:
Lint Name
No response
Reproducer
I tried this code:
<code>
I saw this happen:
I expected to see this happen:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: