2022-04-12 08:34:40 +00:00
|
|
|
parser-struct-literal-body-without-path =
|
|
|
|
struct literal body without path
|
|
|
|
.suggestion = you might have forgotten to add the struct literal inside the block
|
2022-04-26 09:13:23 +00:00
|
|
|
|
2022-04-25 20:55:15 +00:00
|
|
|
parser-maybe-report-ambiguous-plus =
|
|
|
|
ambiguous `+` in a type
|
|
|
|
.suggestion = use parentheses to disambiguate
|
2022-05-16 22:16:27 +00:00
|
|
|
|
|
|
|
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
|
2022-05-31 16:22:26 +00:00
|
|
|
|
|
|
|
parser-maybe-recover-from-bad-qpath-stage-2 =
|
|
|
|
missing angle brackets in associated item path
|
|
|
|
.suggestion = try: `{$ty}`
|
2022-05-31 16:45:44 +00:00
|
|
|
|
|
|
|
parser-incorrect-semicolon =
|
|
|
|
expected item, found `;`
|
|
|
|
.suggestion = remove this semicolon
|
|
|
|
.help = {$name} declarations are not followed by a semicolon
|
2022-05-31 17:33:35 +00:00
|
|
|
|
|
|
|
parser-incorrect-use-of-await =
|
|
|
|
incorrect use of `await`
|
2022-05-31 20:07:44 +00:00
|
|
|
.parentheses-suggestion = `await` is not a method call, remove the parentheses
|
|
|
|
.postfix-suggestion = `await` is a postfix operation
|
2022-05-31 21:28:05 +00:00
|
|
|
|
|
|
|
parser-in-in-typo =
|
|
|
|
expected iterable, found keyword `in`
|
|
|
|
.suggestion = remove the duplicated `in`
|