1
Fork 0

Start handling pattern types at the HIR -> Ty conversion boundary

This commit is contained in:
Oli Scherer 2023-01-31 12:23:26 +00:00
parent c4efc25bfa
commit 1d6cd8daf0
6 changed files with 36 additions and 7 deletions

View file

@ -349,6 +349,8 @@ hir_analysis_pass_to_variadic_function = can't pass `{$ty}` to variadic function
.suggestion = cast the value to `{$cast_ty}`
.help = cast the value to `{$cast_ty}`
hir_analysis_pattern_type_wild_pat = "wildcard patterns are not permitted for pattern types"
.label = "this type is the same as the inner type without a pattern"
hir_analysis_placeholder_not_allowed_item_signatures = the placeholder `_` is not allowed within types on item signatures for {$kind}
.label = not allowed in type signatures