]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_error_messages/locales/en-US/parser.ftl
Auto merge of #100624 - GuillaumeGomez:update-minifier-version, r=nnethercote
[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`
35
36 parser_invalid_variable_declaration =
37     invalid variable declaration
38
39 parser_switch_mut_let_order =
40     switch the order of `mut` and `let`
41 parser_missing_let_before_mut = missing keyword
42 parser_use_let_not_auto = write `let` instead of `auto` to introduce a new variable
43 parser_use_let_not_var = write `let` instead of `var` to introduce a new variable