2021-02-08 02:40:33 +00:00
|
|
|
error: unexpected token `||` in pattern
|
2019-12-27 12:03:03 +00:00
|
|
|
--> $DIR/multiple-pattern-typo.rs:7:15
|
2018-01-06 17:34:19 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 1 | 2 || 3 => (),
|
2019-09-29 04:21:20 +00:00
|
|
|
| - ^^ help: use a single `|` to separate multiple alternative patterns: `|`
|
|
|
|
| |
|
|
|
|
| while parsing this or-pattern starting here
|
2018-01-06 17:34:19 +00:00
|
|
|
|
2021-02-08 02:40:33 +00:00
|
|
|
error: unexpected token `||` in pattern
|
2019-12-27 12:03:03 +00:00
|
|
|
--> $DIR/multiple-pattern-typo.rs:12:16
|
2019-08-18 14:52:49 +00:00
|
|
|
|
|
|
|
|
LL | (1 | 2 || 3) => (),
|
2019-09-29 04:21:20 +00:00
|
|
|
| - ^^ help: use a single `|` to separate multiple alternative patterns: `|`
|
|
|
|
| |
|
|
|
|
| while parsing this or-pattern starting here
|
2019-08-18 14:52:49 +00:00
|
|
|
|
2021-02-08 02:40:33 +00:00
|
|
|
error: unexpected token `||` in pattern
|
2019-12-27 12:03:03 +00:00
|
|
|
--> $DIR/multiple-pattern-typo.rs:17:16
|
2019-08-18 14:52:49 +00:00
|
|
|
|
|
|
|
|
LL | (1 | 2 || 3,) => (),
|
2019-09-29 04:21:20 +00:00
|
|
|
| - ^^ help: use a single `|` to separate multiple alternative patterns: `|`
|
|
|
|
| |
|
|
|
|
| while parsing this or-pattern starting here
|
2019-08-18 14:52:49 +00:00
|
|
|
|
2021-02-08 02:40:33 +00:00
|
|
|
error: unexpected token `||` in pattern
|
2019-12-27 12:03:03 +00:00
|
|
|
--> $DIR/multiple-pattern-typo.rs:24:18
|
2019-08-18 14:52:49 +00:00
|
|
|
|
|
|
|
|
LL | TS(1 | 2 || 3) => (),
|
2019-09-29 04:21:20 +00:00
|
|
|
| - ^^ help: use a single `|` to separate multiple alternative patterns: `|`
|
|
|
|
| |
|
|
|
|
| while parsing this or-pattern starting here
|
2019-08-18 14:52:49 +00:00
|
|
|
|
2021-02-08 02:40:33 +00:00
|
|
|
error: unexpected token `||` in pattern
|
2019-12-27 12:03:03 +00:00
|
|
|
--> $DIR/multiple-pattern-typo.rs:31:23
|
2019-08-18 14:52:49 +00:00
|
|
|
|
|
|
|
|
LL | NS { f: 1 | 2 || 3 } => (),
|
2019-09-29 04:21:20 +00:00
|
|
|
| - ^^ help: use a single `|` to separate multiple alternative patterns: `|`
|
|
|
|
| |
|
|
|
|
| while parsing this or-pattern starting here
|
2019-08-18 14:52:49 +00:00
|
|
|
|
2021-02-08 02:40:33 +00:00
|
|
|
error: unexpected token `||` in pattern
|
2019-12-27 12:03:03 +00:00
|
|
|
--> $DIR/multiple-pattern-typo.rs:36:16
|
2019-08-18 14:52:49 +00:00
|
|
|
|
|
|
|
|
LL | [1 | 2 || 3] => (),
|
2019-09-29 04:21:20 +00:00
|
|
|
| - ^^ help: use a single `|` to separate multiple alternative patterns: `|`
|
|
|
|
| |
|
|
|
|
| while parsing this or-pattern starting here
|
2019-08-18 14:52:49 +00:00
|
|
|
|
2021-02-08 02:40:33 +00:00
|
|
|
error: unexpected token `||` in pattern
|
2019-12-27 12:03:03 +00:00
|
|
|
--> $DIR/multiple-pattern-typo.rs:41:9
|
2019-08-18 16:34:35 +00:00
|
|
|
|
|
|
|
|
LL | || 1 | 2 | 3 => (),
|
2019-08-24 21:44:28 +00:00
|
|
|
| ^^ help: use a single `|` to separate multiple alternative patterns: `|`
|
2019-08-18 16:34:35 +00:00
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2018-01-06 17:34:19 +00:00
|
|
|
|