Warn about overlapping match arm #471
Labels
A-lint
Area: New lints
good first issue
These issues are a good way to get started with Clippy
T-AST
Type: Requires working with the AST
Hello.
It would be nice to have a warning for the following code:
because the first two match arms are overlapping.
Thanks.
The text was updated successfully, but these errors were encountered: