Skip to content

Commit 18ec4e9

Browse files
committed
Move some tests around
1 parent 745c1ea commit 18ec4e9

16 files changed

+4
-4
lines changed

compiler/rustc_parse/messages.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,6 @@ parse_expected_else_block = expected `{"{"}`, found {$first_tok}
195195
.label = expected an `if` or a block after this `else`
196196
.suggestion = add an `if` if this is the condition of a chained `else if` statement
197197
198-
parse_expected_struct_field = expected one of `,`, `:`, or `{"}"}`, found `{$token}`
199-
.label = expected one of `,`, `:`, or `{"}"}`
200-
.ident_label = while parsing this struct field
201-
202198
parse_expected_expression_found_let = expected expression, found `let` statement
203199
.note = only supported directly in conditions of `if` and `while` expressions
204200
.not_supported_or = `||` operators are not supported in let chain expressions
@@ -230,6 +226,10 @@ parse_expected_semi_found_str = expected `;`, found `{$token}`
230226
231227
parse_expected_statement_after_outer_attr = expected statement after outer attribute
232228
229+
parse_expected_struct_field = expected one of `,`, `:`, or `{"}"}`, found `{$token}`
230+
.label = expected one of `,`, `:`, or `{"}"}`
231+
.ident_label = while parsing this struct field
232+
233233
parse_expected_trait_in_trait_impl_found_type = expected a trait, found type
234234
235235
parse_extern_crate_name_with_dashes = crate name using dashes are not valid in `extern crate` statements

0 commit comments

Comments
 (0)