Autofix on an if statement with a nested if statement using matches breaks #5962
Labels
C-bug
Category: Clippy is not doing the correct thing
good-first-issue
These issues are a good way to get started with Clippy
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
T-macros
Type: Issues with macros and macro expansion
I tried this code:
I expected to see this happen (correct autofix):
Instead, this happened:
Meta
cargo clippy -V
: 0.0.212 (de521cb 2020-08-21)rustc -Vv
:The text was updated successfully, but these errors were encountered: