2021-07-13 06:18:03 -05:00
|
|
|
error: expected one of `@` or `|`, found `:`
|
2021-07-15 10:36:19 -05:00
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:17:12
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
|
|
|
LL | Foo:Bar => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^--- specifying the type of a pattern isn't supported
|
2021-07-13 06:18:03 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | Foo::Bar => {}
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
|
|
error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `:`
|
2021-07-15 10:36:19 -05:00
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:23:17
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
LL | qux::Foo:Bar => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^--- specifying the type of a pattern isn't supported
|
2021-07-13 06:18:03 -05:00
|
|
|
| |
|
|
|
|
| expected one of 8 possible tokens
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | qux::Foo::Bar => {}
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
|
|
error: expected one of `@` or `|`, found `:`
|
2021-07-15 10:36:19 -05:00
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:29:12
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
LL | qux:Foo::Baz => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^-------- specifying the type of a pattern isn't supported
|
2021-07-13 06:18:03 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | qux::Foo::Baz => {}
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
|
|
error: expected one of `@` or `|`, found `:`
|
2021-07-15 10:36:19 -05:00
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:35:12
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
LL | qux: Foo::Baz if true => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^ -------- specifying the type of a pattern isn't supported
|
2021-07-13 06:18:03 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | qux::Foo::Baz if true => {}
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
|
|
error: expected one of `@` or `|`, found `:`
|
2021-07-15 10:36:19 -05:00
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:40:15
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
LL | if let Foo:Bar = f() {
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^--- specifying the type of a pattern isn't supported
|
2021-07-13 06:18:03 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | if let Foo::Bar = f() {
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
error: expected one of `@` or `|`, found `:`
|
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:48:16
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
LL | ref qux: Foo::Baz => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^ -------- specifying the type of a pattern isn't supported
|
2021-07-15 10:36:19 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | ref qux::Foo::Baz => {}
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
error: expected one of `@` or `|`, found `:`
|
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:57:16
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
LL | mut qux: Foo::Baz => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^ -------- specifying the type of a pattern isn't supported
|
2021-07-15 10:36:19 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | mut qux::Foo::Baz => {}
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
|
|
error: expected one of `@` or `|`, found `:`
|
2021-07-15 10:36:19 -05:00
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:68:12
|
2021-07-13 06:18:03 -05:00
|
|
|
|
|
|
|
|
LL | Foo:Bar::Baz => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^-------- specifying the type of a pattern isn't supported
|
2021-07-13 06:18:03 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-02-02 10:42:21 -06:00
|
|
|
|
|
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | Foo::Bar::Baz => {}
|
|
|
|
| ~~
|
2021-07-13 06:18:03 -05:00
|
|
|
|
2021-07-15 10:36:19 -05:00
|
|
|
error: expected one of `@` or `|`, found `:`
|
2023-02-02 10:42:21 -06:00
|
|
|
--> $DIR/issue-87086-colon-path-sep.rs:74:12
|
2021-07-15 10:36:19 -05:00
|
|
|
|
|
|
|
|
LL | Foo:Bar => {}
|
2023-02-02 10:42:21 -06:00
|
|
|
| ^--- specifying the type of a pattern isn't supported
|
2021-07-15 10:36:19 -05:00
|
|
|
| |
|
|
|
|
| expected one of `@` or `|`
|
2023-01-15 16:36:46 -06:00
|
|
|
|
|
2023-02-02 10:42:21 -06:00
|
|
|
help: maybe write a path separator here
|
|
|
|
|
|
|
|
|
LL | Foo::Bar => {}
|
|
|
|
| ~~
|
2021-07-15 10:36:19 -05:00
|
|
|
|
2023-02-02 10:42:21 -06:00
|
|
|
error: aborting due to 9 previous errors
|
2021-07-13 06:18:03 -05:00
|
|
|
|