about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse/parser')
-rw-r--r--src/libsyntax/parse/parser/pat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/pat.rs b/src/libsyntax/parse/parser/pat.rs
index dc6632cf10d..0b3de57fd6f 100644
--- a/src/libsyntax/parse/parser/pat.rs
+++ b/src/libsyntax/parse/parser/pat.rs
@@ -119,7 +119,7 @@ impl<'a> Parser<'a> {
         self.struct_span_err(self.token.span, "unexpected token `||` after pattern")
             .span_suggestion(
                 self.token.span,
-                "use a single `|` to specify multiple patterns",
+                "use a single `|` to separate multiple alternative patterns",
                 "|".to_owned(),
                 Applicability::MachineApplicable
             )