iter-on-single-items
breaks code in macro context that takes IntoIterator
#14981
Labels
C-bug
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
Uh oh!
There was an error while loading. Please reload this page.
Using the following flags
--force-warn clippy::iter-on-single-items
this code:
caused the following diagnostics:
However after applying these diagnostics, the resulting code:
no longer compiled:
Version:
The text was updated successfully, but these errors were encountered: