1 error[E0423]: expected value, found module `a`
2 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:17:5
7 | help: use the path separator to refer to an item: `a::I`
9 error[E0423]: expected value, found module `a`
10 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:22:5
15 | help: use the path separator to refer to an item: `a::g`
17 error[E0423]: expected value, found module `a`
18 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:27:5
23 | help: use the path separator to refer to an item: `a::b`
25 error[E0423]: expected value, found module `a::b`
26 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:32:5
28 LL | pub const I: i32 = 1;
29 | --------------------- similarly named constant `I` defined here
34 help: use the path separator to refer to an item
38 help: a constant with a similar name exists
43 error[E0423]: expected value, found module `a`
44 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:37:5
49 | help: use the path separator to refer to an item: `a::b`
51 error[E0423]: expected value, found module `a::b`
52 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:40:12
54 LL | pub const I: i32 = 1;
55 | --------------------- similarly named constant `I` defined here
60 | help: a constant with a similar name exists: `I`
62 error[E0423]: expected value, found module `a::b`
63 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:45:5
65 LL | pub const I: i32 = 1;
66 | --------------------- similarly named constant `I` defined here
71 help: use the path separator to refer to an item
75 help: a constant with a similar name exists
80 error[E0423]: expected value, found module `a::b`
81 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:50:5
83 LL | pub const I: i32 = 1;
84 | --------------------- similarly named constant `I` defined here
89 | help: a constant with a similar name exists: `I`
91 error[E0423]: expected function, found module `a::b`
92 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:55:5
94 LL | pub const I: i32 = 1;
95 | --------------------- similarly named constant `I` defined here
100 | help: a constant with a similar name exists: `I`
102 error: aborting due to 9 previous errors
104 For more information about this error, try `rustc --explain E0423`.