1
Fork 0

Rollup merge of #116431 - estebank:issue-80476, r=compiler-errors

Tweak wording of E0562

Fix #80476.
This commit is contained in:
Jubilee 2023-10-05 00:56:30 -07:00 committed by GitHub
commit d7b02c3d40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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