Don't add associated type bound for non-types
This commit is contained in:
parent
b03864d546
commit
e4cf708d2f
5 changed files with 51 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue