False positive with Box<dyn Iterator<>> and iter_not_returning_iterator #8308
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
Having an function returning a boxed iterator triggers this lint.
Lint Name
iter_not_returning_iterator
Reproducer
I tried this code:
I saw this happen:
I expected to see this happen:
No warn being triggered
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: