2022-08-10 02:42:10 -05:00
|
|
|
parser_struct_literal_body_without_path =
|
2022-04-12 03:34:40 -05:00
|
|
|
struct literal body without path
|
|
|
|
.suggestion = you might have forgotten to add the struct literal inside the block
|
2022-04-26 04:13:23 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_maybe_report_ambiguous_plus =
|
2022-04-25 15:55:15 -05:00
|
|
|
ambiguous `+` in a type
|
|
|
|
.suggestion = use parentheses to disambiguate
|
2022-05-16 17:16:27 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_maybe_recover_from_bad_type_plus =
|
2022-05-16 17:16:27 -05:00
|
|
|
expected a path on the left-hand side of `+`, not `{$ty}`
|
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_add_paren = try adding parentheses
|
2022-05-16 17:16:27 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_forgot_paren = perhaps you forgot parentheses?
|
2022-05-16 17:16:27 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_expect_path = expected a path
|
2022-05-31 11:22:26 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_maybe_recover_from_bad_qpath_stage_2 =
|
2022-05-31 11:22:26 -05:00
|
|
|
missing angle brackets in associated item path
|
|
|
|
.suggestion = try: `{$ty}`
|
2022-05-31 11:45:44 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_incorrect_semicolon =
|
2022-05-31 11:45:44 -05:00
|
|
|
expected item, found `;`
|
|
|
|
.suggestion = remove this semicolon
|
|
|
|
.help = {$name} declarations are not followed by a semicolon
|
2022-05-31 12:33:35 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_incorrect_use_of_await =
|
2022-05-31 12:33:35 -05:00
|
|
|
incorrect use of `await`
|
2022-08-10 02:42:10 -05:00
|
|
|
.parentheses_suggestion = `await` is not a method call, remove the parentheses
|
|
|
|
.postfix_suggestion = `await` is a postfix operation
|
2022-05-31 16:28:05 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
parser_in_in_typo =
|
2022-05-31 16:28:05 -05:00
|
|
|
expected iterable, found keyword `in`
|
|
|
|
.suggestion = remove the duplicated `in`
|
2022-08-17 03:06:24 -05:00
|
|
|
|
|
|
|
parser_invalid_variable_declaration =
|
|
|
|
invalid variable declaration
|
|
|
|
|
|
|
|
parser_switch_mut_let_order =
|
|
|
|
switch the order of `mut` and `let`
|
|
|
|
parser_missing_let_before_mut = missing keyword
|
|
|
|
parser_use_let_not_auto = write `let` instead of `auto` to introduce a new variable
|
|
|
|
parser_use_let_not_var = write `let` instead of `var` to introduce a new variable
|