Add a helpful suggestion
This commit is contained in:
parent
973bbfbd23
commit
fde695a2d1
7 changed files with 43 additions and 57 deletions
|
@ -10,6 +10,7 @@ ast_lowering_argument = argument
|
|||
|
||||
ast_lowering_assoc_ty_binding_in_dyn =
|
||||
associated type bounds are not allowed in `dyn` types
|
||||
.suggestion = use `impl Trait` to introduce a type instead
|
||||
|
||||
ast_lowering_assoc_ty_parentheses =
|
||||
parenthesized generic arguments cannot be used in associated type constraints
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue