]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_messages/locales/en-US/parser.ftl
Auto merge of #93718 - thomcc:used-macho, r=pnkfelix
[rust.git] / compiler / rustc_error_messages / locales / en-US / parser.ftl
1 parser-struct-literal-body-without-path =
2     struct literal body without path
3     .suggestion = you might have forgotten to add the struct literal inside the block
4
5 parser-maybe-report-ambiguous-plus =
6     ambiguous `+` in a type
7     .suggestion = use parentheses to disambiguate
8
9 parser-maybe-recover-from-bad-type-plus =
10     expected a path on the left-hand side of `+`, not `{$ty}`
11
12 parser-add-paren = try adding parentheses
13
14 parser-forgot-paren = perhaps you forgot parentheses?
15
16 parser-expect-path = expected a path
17
18 parser-maybe-recover-from-bad-qpath-stage-2 =
19     missing angle brackets in associated item path
20     .suggestion = try: `{$ty}`
21
22 parser-incorrect-semicolon =
23     expected item, found `;`
24     .suggestion = remove this semicolon
25     .help = {$name} declarations are not followed by a semicolon
26
27 parser-incorrect-use-of-await =
28     incorrect use of `await`
29     .parentheses-suggestion = `await` is not a method call, remove the parentheses
30     .postfix-suggestion = `await` is a postfix operation
31
32 parser-in-in-typo =
33     expected iterable, found keyword `in`
34     .suggestion = remove the duplicated `in`