Migrate unreachable pattern diagnostic
This commit is contained in:
parent
98442b6905
commit
b694e6649e
3 changed files with 19 additions and 8 deletions
|
@ -191,3 +191,7 @@ mir_build_assoc_const_in_pattern = associated consts cannot be referenced in pat
|
|||
mir_build_const_param_in_pattern = const parameters cannot be referenced in patterns
|
||||
|
||||
mir_build_non_const_path = runtime values cannot be referenced in patterns
|
||||
|
||||
mir_build_unreachable_pattern = unreachable pattern
|
||||
.label = unreachable pattern
|
||||
.catchall_label = matches any value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue