1 error: expected one of `@` or `|`, found `:`
2 --> $DIR/issue-87086-colon-path-sep.rs:17:12
5 | ^--- specifying the type of a pattern isn't supported
7 | expected one of `@` or `|`
9 help: maybe write a path separator here
14 error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `:`
15 --> $DIR/issue-87086-colon-path-sep.rs:23:17
17 LL | qux::Foo:Bar => {}
18 | ^--- specifying the type of a pattern isn't supported
20 | expected one of 8 possible tokens
22 help: maybe write a path separator here
24 LL | qux::Foo::Bar => {}
27 error: expected one of `@` or `|`, found `:`
28 --> $DIR/issue-87086-colon-path-sep.rs:29:12
30 LL | qux:Foo::Baz => {}
31 | ^-------- specifying the type of a pattern isn't supported
33 | expected one of `@` or `|`
35 help: maybe write a path separator here
37 LL | qux::Foo::Baz => {}
40 error: expected one of `@` or `|`, found `:`
41 --> $DIR/issue-87086-colon-path-sep.rs:35:12
43 LL | qux: Foo::Baz if true => {}
44 | ^ -------- specifying the type of a pattern isn't supported
46 | expected one of `@` or `|`
48 help: maybe write a path separator here
50 LL | qux::Foo::Baz if true => {}
53 error: expected one of `@` or `|`, found `:`
54 --> $DIR/issue-87086-colon-path-sep.rs:40:15
56 LL | if let Foo:Bar = f() {
57 | ^--- specifying the type of a pattern isn't supported
59 | expected one of `@` or `|`
61 help: maybe write a path separator here
63 LL | if let Foo::Bar = f() {
66 error: expected one of `@` or `|`, found `:`
67 --> $DIR/issue-87086-colon-path-sep.rs:48:16
69 LL | ref qux: Foo::Baz => {}
70 | ^ -------- specifying the type of a pattern isn't supported
72 | expected one of `@` or `|`
74 help: maybe write a path separator here
76 LL | ref qux::Foo::Baz => {}
79 error: expected one of `@` or `|`, found `:`
80 --> $DIR/issue-87086-colon-path-sep.rs:57:16
82 LL | mut qux: Foo::Baz => {}
83 | ^ -------- specifying the type of a pattern isn't supported
85 | expected one of `@` or `|`
87 help: maybe write a path separator here
89 LL | mut qux::Foo::Baz => {}
92 error: expected one of `@` or `|`, found `:`
93 --> $DIR/issue-87086-colon-path-sep.rs:68:12
95 LL | Foo:Bar::Baz => {}
96 | ^-------- specifying the type of a pattern isn't supported
98 | expected one of `@` or `|`
100 help: maybe write a path separator here
102 LL | Foo::Bar::Baz => {}
105 error: expected one of `@` or `|`, found `:`
106 --> $DIR/issue-87086-colon-path-sep.rs:74:12
109 | ^--- specifying the type of a pattern isn't supported
111 | expected one of `@` or `|`
113 help: maybe write a path separator here
118 error: aborting due to 9 previous errors