1
Fork 0

Don't add associated type bound for non-types

This commit is contained in:
Michael Goulet 2023-08-11 21:27:52 +00:00
parent b03864d546
commit e4cf708d2f
5 changed files with 51 additions and 10 deletions

View file

@ -1,6 +1,9 @@
hir_analysis_ambiguous_lifetime_bound =
ambiguous lifetime bound, explicit lifetime bound required
hir_analysis_assoc_bound_on_const = expected associated type, found {$descr}
.note = trait bounds not allowed on {$descr}
hir_analysis_assoc_type_binding_not_allowed =
associated type bindings are not allowed here
.label = associated type not allowed here