1 error: expected one of `@` or `|`, found `:`
2 --> $DIR/issue-87086-colon-path-sep.rs:17:12
7 | expected one of `@` or `|`
8 | help: maybe write a path separator here: `::`
10 error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `:`
11 --> $DIR/issue-87086-colon-path-sep.rs:23:17
13 LL | qux::Foo:Bar => {}
16 | expected one of 8 possible tokens
17 | help: maybe write a path separator here: `::`
19 error: expected one of `@` or `|`, found `:`
20 --> $DIR/issue-87086-colon-path-sep.rs:29:12
22 LL | qux:Foo::Baz => {}
25 | expected one of `@` or `|`
26 | help: maybe write a path separator here: `::`
28 error: expected one of `@` or `|`, found `:`
29 --> $DIR/issue-87086-colon-path-sep.rs:35:12
31 LL | qux: Foo::Baz if true => {}
34 | expected one of `@` or `|`
35 | help: maybe write a path separator here: `::`
37 error: expected one of `@` or `|`, found `:`
38 --> $DIR/issue-87086-colon-path-sep.rs:40:15
40 LL | if let Foo:Bar = f() {
43 | expected one of `@` or `|`
44 | help: maybe write a path separator here: `::`
46 error: expected one of `@` or `|`, found `:`
47 --> $DIR/issue-87086-colon-path-sep.rs:48:16
49 LL | ref qux: Foo::Baz => {}
52 | expected one of `@` or `|`
53 | help: maybe write a path separator here: `::`
55 error: expected one of `@` or `|`, found `:`
56 --> $DIR/issue-87086-colon-path-sep.rs:57:16
58 LL | mut qux: Foo::Baz => {}
61 | expected one of `@` or `|`
62 | help: maybe write a path separator here: `::`
64 error: expected one of `@` or `|`, found `:`
65 --> $DIR/issue-87086-colon-path-sep.rs:68:12
67 LL | Foo:Bar::Baz => {}
70 | expected one of `@` or `|`
71 | help: maybe write a path separator here: `::`
73 error: expected one of `@` or `|`, found `:`
74 --> $DIR/issue-87086-colon-path-sep.rs:75:12
79 | expected one of `@` or `|`
80 | help: maybe write a path separator here: `::`
82 error[E0433]: failed to resolve: `Bar` is a variant, not a module
83 --> $DIR/issue-87086-colon-path-sep.rs:68:13
85 LL | Foo:Bar::Baz => {}
86 | ^^^ `Bar` is a variant, not a module
88 error: aborting due to 10 previous errors
90 For more information about this error, try `rustc --explain E0433`.