Match on enum with a non_snake_case
variable that has the same name as one of the enum variants is potentially confusing
#121704
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
L-non_snake_case
Lint: non_snake_case
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
No response
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: