1 error[E0423]: expected value, found module `a`
2 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:17:5
5 | ^- help: use the path separator to refer to an item: `::`
7 error[E0423]: expected value, found module `a`
8 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:23:5
11 | ^- help: use the path separator to refer to an item: `::`
13 error[E0423]: expected value, found module `a`
14 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:29:5
17 | ^- help: use the path separator to refer to an item: `::`
19 error[E0423]: expected value, found module `a::b`
20 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:35:5
22 LL | pub const I: i32 = 1;
23 | --------------------- similarly named constant `I` defined here
28 help: use the path separator to refer to an item
32 help: a constant with a similar name exists
37 error[E0423]: expected value, found module `a`
38 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:42:5
41 | ^- help: use the path separator to refer to an item: `::`
43 error[E0423]: expected value, found module `a::b`
44 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:46:12
46 LL | pub const I: i32 = 1;
47 | --------------------- similarly named constant `I` defined here
52 | help: a constant with a similar name exists: `I`
54 error[E0423]: expected value, found module `a::b`
55 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:52:5
57 LL | pub const I: i32 = 1;
58 | --------------------- similarly named constant `I` defined here
63 help: use the path separator to refer to an item
67 help: a constant with a similar name exists
72 error[E0423]: expected value, found module `a::b`
73 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:59:5
75 LL | pub const I: i32 = 1;
76 | --------------------- similarly named constant `I` defined here
81 | help: a constant with a similar name exists: `I`
83 error[E0423]: expected function, found module `a::b`
84 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:65:5
86 LL | pub const I: i32 = 1;
87 | --------------------- similarly named constant `I` defined here
92 | help: a constant with a similar name exists: `I`
94 error[E0423]: expected value, found module `a`
95 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:72:9
100 LL | module!().g::<()>(); // no `help` here!
101 | --------- in this macro invocation
103 = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info)
105 error[E0423]: expected value, found module `a`
106 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:72:9
111 LL | module!().g; // no `help` here!
112 | --------- in this macro invocation
114 = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info)
116 error[E0423]: expected value, found module `a`
117 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:80:9
120 | ^- help: use the path separator to refer to an item: `::`
122 LL | let _ = create!(method);
123 | --------------- in this macro invocation
125 = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
127 error[E0423]: expected value, found module `a`
128 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:85:9
131 | ^- help: use the path separator to refer to an item: `::`
133 LL | let _ = create!(field);
134 | -------------- in this macro invocation
136 = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
138 error: aborting due to 13 previous errors
140 For more information about this error, try `rustc --explain E0423`.