1
Fork 0

Tweak wording of E0562

Fix #80476.
This commit is contained in:
Esteban Küber 2023-10-04 19:51:43 +00:00
parent 79f38b7914
commit 041e54bd92
40 changed files with 136 additions and 136 deletions

View file

@ -99,7 +99,7 @@ ast_lowering_misplaced_double_dot =
.note = only allowed in tuple, tuple struct, and slice patterns
ast_lowering_misplaced_impl_trait =
`impl Trait` only allowed in function and inherent method return types, not in {$position}
`impl Trait` only allowed in function and inherent method argument and return types, not in {$position}
ast_lowering_misplaced_relax_trait_bound =
`?Trait` bounds are only permitted at the point where a type parameter is declared