1
Fork 0

Error message for ambiguous RTN from super bounds

This commit is contained in:
Michael Goulet 2023-05-03 21:09:50 +00:00
parent fef2f5b815
commit 76802e31a1
6 changed files with 84 additions and 3 deletions

View file

@ -194,6 +194,10 @@ hir_analysis_return_type_notation_equality_bound =
hir_analysis_return_type_notation_missing_method =
cannot find associated function `{$assoc_name}` for `{$ty_name}`
hir_analysis_return_type_notation_conflicting_bound =
ambiguous associated function `{$assoc_name}` for `{$ty_name}`
.note = `{$assoc_name}` is declared in two supertraits: `{$first_bound}` and `{$second_bound}`
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