about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_parse')
-rw-r--r--compiler/rustc_parse/src/parser/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs
index 5d6da609312..1cb1618e584 100644
--- a/compiler/rustc_parse/src/parser/diagnostics.rs
+++ b/compiler/rustc_parse/src/parser/diagnostics.rs
@@ -2961,7 +2961,7 @@ impl<'a> Parser<'a> {
         if let CommaRecoveryMode::EitherTupleOrPipe = rt {
             err.span_suggestion(
                 comma_span,
-                "...or a vertical bar to match on alternative",
+                "...or a vertical bar to match on alternatives",
                 " |",
                 Applicability::MachineApplicable,
             );