Samuel Moelius
420f3d11e8
"try this" -> "try"
2023-07-01 07:08:01 -04:00
Tyler Weaver
2432e97d6a
wildcard_enum_match_arm lint takes the enum origin into account
...
Signed-off-by: Tyler Weaver <maybe@tylerjw.dev>
2023-01-30 17:29:29 -07:00
koka
ebb0759bb3
Add a test for regular wildcard
...
fix
2022-12-18 21:07:18 +09:00
Jason Newcomb
d5a7941ead
Fix message for match_wildcard_for_single_variant
2021-03-17 12:42:18 -04:00
Jason Newcomb
0b7ab90eca
Improvements to match_wildcard_for_single_variants
and wildcard_enum_match_arm
lints
...
Don't lint on `Result` and `Option` types.
Considers `or` patterns.
Considers variants prefixed with `Self`
Suggestions will try to find a common prefix rather than just using the full path
2021-03-17 12:04:11 -04:00
Vardan Margaryan
d90625385e
Add more test cases for match_wildcard_for_single_variants
2020-05-16 00:19:30 +03:00
Vardan Margaryan
94e4b5ec31
Add the redundant_wildcard_enum_match lint
2020-05-14 22:36:46 +03:00