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