Missing { … }
for needless_for_each
#14734
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
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Summary
Clippy forgot about the
{}
for the suggestions.Reproducer
Playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=3dedb348e9d9b077d3bcaa43ff1bc346
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: