manual_map suggestion cannot be applied: if let.. else if let .. chain #6847
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
Lint name:
manual_map
I tried this code:
Clippy suggests this:
but it fails to apply because we have an if .. else if .. else chain which is not taken into account and the suggestion causes syntax errors.
cc @Jarcho ?
The text was updated successfully, but these errors were encountered: