rust/src/test/ui/did_you_mean/multiple-pattern-typo.stderr

9 lines
286 B
Plaintext
Raw Normal View History

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
| ^^ help: use a single `|` to specify multiple patterns: `|`
error: aborting due to previous error