1
Fork 0

suggest fix for attempted integer identifier in patterns

This commit is contained in:
Ezra Shaw 2023-01-13 14:14:26 +13:00
parent 61a415be59
commit 1babece1e8
No known key found for this signature in database
GPG key ID: 17CD5C2ADAE0D344
8 changed files with 99 additions and 4 deletions

View file

@ -364,3 +364,5 @@ mir_build_suggest_let_else = you might want to use `let else` to handle the {$co
[one] variant that isn't
*[other] variants that aren't
} matched
mir_build_suggest_attempted_int_lit = alternatively, you could prepend the pattern with an underscore to define a new named variable; identifiers cannot begin with digits