1
Fork 0

Migrate "constant pattern depends on generic parameter" diagnostic

This commit is contained in:
TheOddGarlic 2022-08-27 22:17:10 +03:00 committed by mejrs
parent b694e6649e
commit d5f821eeb0
3 changed files with 14 additions and 3 deletions

View file

@ -195,3 +195,6 @@ 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
mir_build_const_pattern_depends_on_generic_parameter =
constant pattern depends on a generic parameter