2018-01-06 11:34:19 -06:00
|
|
|
error: unexpected token `||` after pattern
|
|
|
|
--> $DIR/multiple-pattern-typo.rs:14:15
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 1 | 2 || 3 => (), //~ ERROR unexpected token `||` after pattern
|
2018-01-06 14:22:29 -06:00
|
|
|
| ^^ help: use a single `|` to specify multiple patterns: `|`
|
2018-01-06 11:34:19 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|