about summary refs log tree commit diff
path: root/compiler/rustc_parse/messages.ftl
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2024-11-01 18:37:32 -0300
committerSantiago Pastorino <spastorino@gmail.com>2025-03-06 17:58:32 -0300
commit81a926cc2ae22bed26c57a7ef481099916fc1cc8 (patch)
treedace108924e35df167dece4e7052272a3b3f8ce8 /compiler/rustc_parse/messages.ftl
parent05c516446a0f6105ce695da00d5cf5a0eb54e808 (diff)
downloadrust-81a926cc2ae22bed26c57a7ef481099916fc1cc8.tar.gz
rust-81a926cc2ae22bed26c57a7ef481099916fc1cc8.zip
Use closure parse code
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
-rw-r--r--compiler/rustc_parse/messages.ftl3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl
index 0289fa5f493..a1d7d321d8a 100644
--- a/compiler/rustc_parse/messages.ftl
+++ b/compiler/rustc_parse/messages.ftl
@@ -26,6 +26,9 @@ parse_async_move_block_in_2015 = `async move` blocks are only allowed in Rust 20
 parse_async_move_order_incorrect = the order of `move` and `async` is incorrect
     .suggestion = try switching the order
 
+parse_async_use_order_incorrect = the order of `use` and `async` is incorrect
+    .suggestion = try switching the order
+
 parse_at_dot_dot_in_struct_pattern = `@ ..` is not supported in struct patterns
     .suggestion = bind to each field separately or, if you don't need them, just remove `{$ident} @`