about summary refs log tree commit diff
path: root/compiler/rustc_parse/messages.ftl
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-08-01 13:11:24 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-08-01 13:11:24 +0000
commite157954cce4497738a728f8c295c71b229d35a66 (patch)
tree70929ac99ff57cedb499cc46a087f4bec17e09a3 /compiler/rustc_parse/messages.ftl
parent97ac52f579fe1003a162324d448dad43a942b5f5 (diff)
downloadrust-e157954cce4497738a728f8c295c71b229d35a66.tar.gz
rust-e157954cce4497738a728f8c295c71b229d35a66.zip
Fix removed `box_syntax` diagnostic if source isn't available
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
-rw-r--r--compiler/rustc_parse/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl
index 391a5791776..9d594120ec4 100644
--- a/compiler/rustc_parse/messages.ftl
+++ b/compiler/rustc_parse/messages.ftl
@@ -66,7 +66,7 @@ parse_box_not_pat = expected pattern, found {$descr}
     .suggestion = escape `box` to use it as an identifier
 
 parse_box_syntax_removed = `box_syntax` has been removed
-    .suggestion = use `Box::new()` instead
+parse_box_syntax_removed_suggestion = use `Box::new()` instead
 
 parse_cannot_be_raw_ident = `{$ident}` cannot be a raw identifier