]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr
Rollup merge of #48943 - comex:verbose, r=kennytm
[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 LL |     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:32:5
11    |
12 LL |     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:37:5
19    |
20 LL |     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:42:5
27    |
28 LL |     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:47:5
36    |
37 LL |     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:50:12
44    |
45 LL |     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:55:5
52    |
53 LL |     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:60:5
61    |
62 LL |     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:65:5
69    |
70 LL |     a::b()
71    |     ^^^-
72    |        |
73    |        did you mean `I`?
74
75 error: aborting due to 9 previous errors
76
77 For more information about this error, try `rustc --explain E0423`.