migrate maybe_recover_from_bad_type_plus
diagnostic
This commit is contained in:
parent
c52b9c10bf
commit
7e8517df61
2 changed files with 57 additions and 25 deletions
|
@ -5,3 +5,12 @@ parser-struct-literal-body-without-path =
|
|||
parser-maybe-report-ambiguous-plus =
|
||||
ambiguous `+` in a type
|
||||
.suggestion = use parentheses to disambiguate
|
||||
|
||||
parser-maybe-recover-from-bad-type-plus =
|
||||
expected a path on the left-hand side of `+`, not `{$ty}`
|
||||
|
||||
parser-add-paren = try adding parentheses
|
||||
|
||||
parser-forgot-paren = perhaps you forgot parentheses?
|
||||
|
||||
parser-expect-path = expected a path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue