-error: unexpected token `||` after pattern
+error: unexpected token `||` in pattern
--> $DIR/multiple-pattern-typo.rs:7:15
|
LL | 1 | 2 || 3 => (),
| |
| while parsing this or-pattern starting here
-error: unexpected token `||` after pattern
+error: unexpected token `||` in pattern
--> $DIR/multiple-pattern-typo.rs:12:16
|
LL | (1 | 2 || 3) => (),
| |
| while parsing this or-pattern starting here
-error: unexpected token `||` after pattern
+error: unexpected token `||` in pattern
--> $DIR/multiple-pattern-typo.rs:17:16
|
LL | (1 | 2 || 3,) => (),
| |
| while parsing this or-pattern starting here
-error: unexpected token `||` after pattern
+error: unexpected token `||` in pattern
--> $DIR/multiple-pattern-typo.rs:24:18
|
LL | TS(1 | 2 || 3) => (),
| |
| while parsing this or-pattern starting here
-error: unexpected token `||` after pattern
+error: unexpected token `||` in pattern
--> $DIR/multiple-pattern-typo.rs:31:23
|
LL | NS { f: 1 | 2 || 3 } => (),
| |
| while parsing this or-pattern starting here
-error: unexpected token `||` after pattern
+error: unexpected token `||` in pattern
--> $DIR/multiple-pattern-typo.rs:36:16
|
LL | [1 | 2 || 3] => (),
| |
| while parsing this or-pattern starting here
-error: unexpected token `||` after pattern
+error: unexpected token `||` in pattern
--> $DIR/multiple-pattern-typo.rs:41:9
|
LL | || 1 | 2 | 3 => (),