about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authory21 <30553356+y21@users.noreply.github.com>2023-02-26 01:39:43 +0100
committery21 <30553356+y21@users.noreply.github.com>2023-02-26 11:58:49 +0100
commit32da026c35d07e1e256421b0860d136f01ee3bf0 (patch)
treec9ebf54d1644dffb1f639c7c855fd444f3db5d94 /compiler/rustc_parse
parent70fd012439d75fd6ce561a6518b9b8fd399f455f (diff)
downloadrust-32da026c35d07e1e256421b0860d136f01ee3bf0.tar.gz
rust-32da026c35d07e1e256421b0860d136f01ee3bf0.zip
generalize help message
Diffstat (limited to 'compiler/rustc_parse')
-rw-r--r--compiler/rustc_parse/locales/en-US.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/locales/en-US.ftl b/compiler/rustc_parse/locales/en-US.ftl
index a31b1f6ac1a..4ddeeed5b7e 100644
--- a/compiler/rustc_parse/locales/en-US.ftl
+++ b/compiler/rustc_parse/locales/en-US.ftl
@@ -220,7 +220,7 @@ parse_match_arm_body_without_braces = `match` arm body without braces
             [one] statement
            *[other] statements
         } with a body
-    .suggestion_use_comma_not_semicolon = use a comma to end a `match` arm expression
+    .suggestion_use_comma_not_semicolon = replace `;` with `,` to end a `match` arm expression
 
 parse_inclusive_range_extra_equals = unexpected `=` after inclusive range
     .suggestion_remove_eq = use `..=` instead