manual_map sugg with dyn causes error #12659
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
Reproducer
This code compiles:
But when applying the manual map suggestion, it no longer compiles:
This was the most minimal example I could make to reproduce the issue.
The project where I got this problem:
This code compiles
Full output of clippy:
Version
Additional Labels
@rustbot label +
I-suggestion-causes-error
The text was updated successfully, but these errors were encountered: