]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issues/issue-87086-colon-path-sep.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / issues / issue-87086-colon-path-sep.stderr
1 error: expected one of `@` or `|`, found `:`
2 --> $DIR/issue-87086-colon-path-sep.rs:17:12
3 |
4 LL | Foo:Bar => {}
5 | ^
6 | |
7 | expected one of `@` or `|`
8 | help: maybe write a path separator here: `::`
9
10 error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `{`, or `|`, found `:`
11 --> $DIR/issue-87086-colon-path-sep.rs:23:17
12 |
13 LL | qux::Foo:Bar => {}
14 | ^
15 | |
16 | expected one of 8 possible tokens
17 | help: maybe write a path separator here: `::`
18
19 error: expected one of `@` or `|`, found `:`
20 --> $DIR/issue-87086-colon-path-sep.rs:29:12
21 |
22 LL | qux:Foo::Baz => {}
23 | ^
24 | |
25 | expected one of `@` or `|`
26 | help: maybe write a path separator here: `::`
27
28 error: expected one of `@` or `|`, found `:`
29 --> $DIR/issue-87086-colon-path-sep.rs:35:12
30 |
31 LL | qux: Foo::Baz if true => {}
32 | ^
33 | |
34 | expected one of `@` or `|`
35 | help: maybe write a path separator here: `::`
36
37 error: expected one of `@` or `|`, found `:`
38 --> $DIR/issue-87086-colon-path-sep.rs:40:15
39 |
40 LL | if let Foo:Bar = f() {
41 | ^
42 | |
43 | expected one of `@` or `|`
44 | help: maybe write a path separator here: `::`
45
46 error: expected one of `@` or `|`, found `:`
47 --> $DIR/issue-87086-colon-path-sep.rs:48:16
48 |
49 LL | ref qux: Foo::Baz => {}
50 | ^
51 | |
52 | expected one of `@` or `|`
53 | help: maybe write a path separator here: `::`
54
55 error: expected one of `@` or `|`, found `:`
56 --> $DIR/issue-87086-colon-path-sep.rs:57:16
57 |
58 LL | mut qux: Foo::Baz => {}
59 | ^
60 | |
61 | expected one of `@` or `|`
62 | help: maybe write a path separator here: `::`
63
64 error: expected one of `@` or `|`, found `:`
65 --> $DIR/issue-87086-colon-path-sep.rs:68:12
66 |
67 LL | Foo:Bar::Baz => {}
68 | ^
69 | |
70 | expected one of `@` or `|`
71 | help: maybe write a path separator here: `::`
72
73 error: expected one of `@` or `|`, found `:`
74 --> $DIR/issue-87086-colon-path-sep.rs:75:12
75 |
76 LL | Foo:Bar => {}
77 | ^
78 | |
79 | expected one of `@` or `|`
80 | help: maybe write a path separator here: `::`
81
82 error[E0433]: failed to resolve: `Bar` is a variant, not a module
83 --> $DIR/issue-87086-colon-path-sep.rs:68:13
84 |
85 LL | Foo:Bar::Baz => {}
86 | ^^^ `Bar` is a variant, not a module
87
88 error: aborting due to 10 previous errors
89
90 For more information about this error, try `rustc --explain E0433`.