Don't suggest calling .iter()
when unsatified Iterator
bound does not originate from an expression
#50773
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Demo:
This will cause the strange suggestion:
There is no place to "call
.iter()
". That suggestion should be removed here.The text was updated successfully, but these errors were encountered: