]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr
New upstream version 1.20.0+dfsg1
[rustc.git] / src / test / ui / resolve / suggest-path-instead-of-mod-dot-item.stderr
1 error[E0423]: expected value, found module `a`
2 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:27:5
3 |
4 27 | a.I
5 | ^--
6 | |
7 | did you mean `a::I`?
8
9 error[E0423]: expected value, found module `a`
10 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:33:5
11 |
12 33 | a.g()
13 | ^----
14 | |
15 | did you mean `a::g(...)`?
16
17 error[E0423]: expected value, found module `a`
18 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:39:5
19 |
20 39 | a.b.J
21 | ^--
22 | |
23 | did you mean `a::b`?
24
25 error[E0423]: expected value, found module `a::b`
26 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:45:5
27 |
28 45 | a::b.J
29 | ^^^---
30 | | |
31 | | did you mean `I`?
32 | did you mean `a::b::J`?
33
34 error[E0423]: expected value, found module `a`
35 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:51:5
36 |
37 51 | a.b.f();
38 | ^--
39 | |
40 | did you mean `a::b`?
41
42 error[E0423]: expected value, found module `a::b`
43 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:55:12
44 |
45 55 | v.push(a::b);
46 | ^^^-
47 | |
48 | did you mean `I`?
49
50 error[E0423]: expected value, found module `a::b`
51 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:61:5
52 |
53 61 | a::b.f()
54 | ^^^-----
55 | | |
56 | | did you mean `I`?
57 | did you mean `a::b::f(...)`?
58
59 error[E0423]: expected value, found module `a::b`
60 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:67:5
61 |
62 67 | a::b
63 | ^^^-
64 | |
65 | did you mean `I`?
66
67 error[E0423]: expected function, found module `a::b`
68 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:73:5
69 |
70 73 | a::b()
71 | ^^^-
72 | |
73 | did you mean `I`?
74
75 error[E0601]: main function not found
76
77 error: aborting due to 10 previous errors
78