Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upambigous_pattern lint #2378
Comments
SoniEx2
referenced this issue
May 14, 2018
Open
Mini-RFC: Finalize syntax for slice patterns with subslices #2359
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SoniEx2 commentedJan 18, 2018
•
edited
Ref: rust-lang/rfcs#2272
I would like an
ambiguous_patternlint that either:::@Those 2 requirements make it easy to avoid ambiguous patterns, for example:
Instead, write it as: