about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-10-03 21:31:10 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-10-03 21:31:27 +0000
commit18ec4e9bcd7ac13e51c521c9be127e98bdb58faf (patch)
treeae4dbd14ce6de570c6be85618162bb9c9bc5cc32 /compiler
parent745c1ea4388864d6a832aeacb9fc3b9db1ab9c2f (diff)
downloadrust-18ec4e9bcd7ac13e51c521c9be127e98bdb58faf.tar.gz
rust-18ec4e9bcd7ac13e51c521c9be127e98bdb58faf.zip
Move some tests around
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_parse/messages.ftl8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl
index 452c24efff3..abe5ce79a03 100644
--- a/compiler/rustc_parse/messages.ftl
+++ b/compiler/rustc_parse/messages.ftl
@@ -195,10 +195,6 @@ parse_expected_else_block = expected `{"{"}`, found {$first_tok}
     .label = expected an `if` or a block after this `else`
     .suggestion = add an `if` if this is the condition of a chained `else if` statement
 
-parse_expected_struct_field = expected one of `,`, `:`, or `{"}"}`, found `{$token}`
-    .label = expected one of `,`, `:`, or `{"}"}`
-    .ident_label = while parsing this struct field
-
 parse_expected_expression_found_let = expected expression, found `let` statement
     .note = only supported directly in conditions of `if` and `while` expressions
     .not_supported_or = `||` operators are not supported in let chain expressions
@@ -230,6 +226,10 @@ parse_expected_semi_found_str = expected `;`, found `{$token}`
 
 parse_expected_statement_after_outer_attr = expected statement after outer attribute
 
+parse_expected_struct_field = expected one of `,`, `:`, or `{"}"}`, found `{$token}`
+    .label = expected one of `,`, `:`, or `{"}"}`
+    .ident_label = while parsing this struct field
+
 parse_expected_trait_in_trait_impl_found_type = expected a trait, found type
 
 parse_extern_crate_name_with_dashes = crate name using dashes are not valid in `extern crate` statements