]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr
Auto merge of #40450 - alexcrichton:fix-cargo, r=alexcrichton
[rust.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 `a::b::J`?
32
33 error[E0423]: expected value, found module `a`
34   --> $DIR/suggest-path-instead-of-mod-dot-item.rs:51:5
35    |
36 51 |     a.b.f();
37    |     ^--
38    |     |
39    |     did you mean `a::b`?
40
41 error[E0423]: expected value, found module `a::b`
42   --> $DIR/suggest-path-instead-of-mod-dot-item.rs:55:12
43    |
44 55 |     v.push(a::b);
45    |            ^^^-
46    |               |
47    |               did you mean `I`?
48
49 error[E0423]: expected value, found module `a::b`
50   --> $DIR/suggest-path-instead-of-mod-dot-item.rs:61:5
51    |
52 61 |     a::b.f()
53    |     ^^^^----
54    |     |
55    |     did you mean `a::b::f(...)`?
56
57 error[E0423]: expected value, found module `a::b`
58   --> $DIR/suggest-path-instead-of-mod-dot-item.rs:67:5
59    |
60 67 |     a::b
61    |     ^^^-
62    |        |
63    |        did you mean `I`?
64
65 error[E0423]: expected function, found module `a::b`
66   --> $DIR/suggest-path-instead-of-mod-dot-item.rs:73:5
67    |
68 73 |     a::b()
69    |     ^^^-
70    |        |
71    |        did you mean `I`?
72
73 error: main function not found
74
75 error: aborting due to 10 previous errors
76