diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-24 23:44:28 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-24 23:44:28 +0200 |
| commit | 0ab84303326fff65d5d0a168fd47448e05135c9f (patch) | |
| tree | 44e6ef28d83dadafed46d702da0b2f6cd358bb71 /src/libsyntax/parse/parser | |
| parent | e3747722fbb8a44f9053922e4c39338a3a1f9597 (diff) | |
| download | rust-0ab84303326fff65d5d0a168fd47448e05135c9f.tar.gz rust-0ab84303326fff65d5d0a168fd47448e05135c9f.zip | |
parser: reword || recovery.
Diffstat (limited to 'src/libsyntax/parse/parser')
| -rw-r--r-- | src/libsyntax/parse/parser/pat.rs | 2 |
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 ) |
