]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-59764.stderr
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
[rust.git] / tests / ui / imports / issue-59764.stderr
1 error[E0432]: unresolved import `issue_59764::foo::makro`
2   --> $DIR/issue-59764.rs:14:33
3    |
4 LL |     use issue_59764::foo::{baz, makro};
5    |                                 ^^^^^ no `makro` in `foo`
6    |
7    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
8 help: a macro with this name exists at the root of the crate
9    |
10 LL -     use issue_59764::foo::{baz, makro};
11 LL +     use issue_59764::{makro, foo::{baz}};
12    |
13
14 error[E0432]: unresolved import `issue_59764::foo::makro`
15   --> $DIR/issue-59764.rs:21:9
16    |
17 LL |         makro,
18    |         ^^^^^ no `makro` in `foo`
19    |
20    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
21 help: a macro with this name exists at the root of the crate
22    |
23 LL ~     use issue_59764::{makro, foo::{
24 LL |         baz,
25 LL ~
26 LL ~     }};
27    |
28
29 error[E0432]: unresolved import `issue_59764::foo::makro`
30   --> $DIR/issue-59764.rs:28:9
31    |
32 LL |         makro
33    |         ^^^^^ no `makro` in `foo`
34    |
35    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
36 help: a macro with this name exists at the root of the crate
37    |
38 LL ~     use issue_59764::{makro, foo::{
39 LL |         baz,
40 LL ~
41 LL ~     }};
42    |
43
44 error[E0432]: unresolved import `issue_59764::foo::makro`
45   --> $DIR/issue-59764.rs:33:33
46    |
47 LL |     use issue_59764::foo::{baz, makro, foobar};
48    |                                 ^^^^^ no `makro` in `foo`
49    |
50    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
51 help: a macro with this name exists at the root of the crate
52    |
53 LL -     use issue_59764::foo::{baz, makro, foobar};
54 LL +     use issue_59764::{makro, foo::{baz, foobar}};
55    |
56
57 error[E0432]: unresolved import `issue_59764::foo::makro`
58   --> $DIR/issue-59764.rs:40:9
59    |
60 LL |         makro,
61    |         ^^^^^ no `makro` in `foo`
62    |
63    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
64 help: a macro with this name exists at the root of the crate
65    |
66 LL ~     use issue_59764::{makro, foo::{
67 LL |         baz,
68 LL ~
69 LL |         foobar,
70 LL ~     }};
71    |
72
73 error[E0432]: unresolved import `issue_59764::foo::makro`
74   --> $DIR/issue-59764.rs:48:9
75    |
76 LL |         makro,
77    |         ^^^^^ no `makro` in `foo`
78    |
79    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
80 help: a macro with this name exists at the root of the crate
81    |
82 LL ~     use issue_59764::{makro, foo::{
83 LL |         baz,
84 LL ~
85 LL |         foobar
86 LL ~     }};
87    |
88
89 error[E0432]: unresolved import `issue_59764::foo::makro`
90   --> $DIR/issue-59764.rs:54:31
91    |
92 LL |     use issue_59764::{foobaz, foo::makro};
93    |                               ^^^^^^^^^^ no `makro` in `foo`
94    |
95    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
96 help: a macro with this name exists at the root of the crate
97    |
98 LL -     use issue_59764::{foobaz, foo::makro};
99 LL +     use issue_59764::{makro, foobaz};
100    |
101
102 error[E0432]: unresolved import `issue_59764::foo::makro`
103   --> $DIR/issue-59764.rs:59:42
104    |
105 LL |     use issue_59764::{foobaz, foo::{baz, makro}};
106    |                                          ^^^^^ no `makro` in `foo`
107    |
108    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
109 help: a macro with this name exists at the root of the crate
110    |
111 LL -     use issue_59764::{foobaz, foo::{baz, makro}};
112 LL +     use issue_59764::{makro, foobaz, foo::{baz}};
113    |
114
115 error[E0432]: unresolved import `issue_59764::foo::makro`
116   --> $DIR/issue-59764.rs:68:13
117    |
118 LL |             makro,
119    |             ^^^^^ no `makro` in `foo`
120    |
121    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
122 help: a macro with this name exists at the root of the crate
123    |
124 LL ~     use issue_59764::{makro, 
125 LL |         foobaz,
126 LL |         foo::{
127 LL |             baz,
128 LL ~
129    |
130
131 error[E0432]: unresolved import `issue_59764::foo::makro`
132   --> $DIR/issue-59764.rs:78:13
133    |
134 LL |             makro
135    |             ^^^^^ no `makro` in `foo`
136    |
137    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
138 help: a macro with this name exists at the root of the crate
139    |
140 LL ~     use issue_59764::{makro, 
141 LL |         foobaz,
142 LL |         foo::{
143 LL |             baz,
144 LL ~
145    |
146
147 error[E0432]: unresolved import `issue_59764::foo::makro`
148   --> $DIR/issue-59764.rs:84:42
149    |
150 LL |     use issue_59764::{foobaz, foo::{baz, makro, barbaz::{barfoo}}};
151    |                                          ^^^^^ no `makro` in `foo`
152    |
153    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
154 help: a macro with this name exists at the root of the crate
155    |
156 LL -     use issue_59764::{foobaz, foo::{baz, makro, barbaz::{barfoo}}};
157 LL +     use issue_59764::{makro, foobaz, foo::{baz, barbaz::{barfoo}}};
158    |
159
160 error[E0432]: unresolved import `issue_59764::foo::makro`
161   --> $DIR/issue-59764.rs:93:13
162    |
163 LL |             makro,
164    |             ^^^^^ no `makro` in `foo`
165    |
166    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
167 help: a macro with this name exists at the root of the crate
168    |
169 LL ~     use issue_59764::{makro, 
170 LL |         foobaz,
171 LL |         foo::{
172 LL |             baz,
173 LL ~
174    |
175
176 error[E0432]: unresolved import `issue_59764::foo::makro`
177   --> $DIR/issue-59764.rs:102:9
178    |
179 LL |     use issue_59764::foo::makro as baz;
180    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `makro` in `foo`
181    |
182    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
183 help: a macro with this name exists at the root of the crate
184    |
185 LL |     use issue_59764::makro as baz;
186    |         ~~~~~~~~~~~~~~~~~~~~~~~~~
187
188 error[E0432]: unresolved import `issue_59764::foo::makro`
189   --> $DIR/issue-59764.rs:107:33
190    |
191 LL |     use issue_59764::foo::{baz, makro as foobar};
192    |                                 ^^^^^^^^^^^^^^^ no `makro` in `foo`
193    |
194    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
195 help: a macro with this name exists at the root of the crate
196    |
197 LL -     use issue_59764::foo::{baz, makro as foobar};
198 LL +     use issue_59764::{makro as foobar, foo::{baz}};
199    |
200
201 error[E0432]: unresolved import `issue_59764::foo::makro`
202   --> $DIR/issue-59764.rs:120:17
203    |
204 LL |                 makro as foobar}
205    |                 ^^^^^^^^^^^^^^^ no `makro` in `foo`
206    |
207    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
208 help: a macro with this name exists at the root of the crate
209    |
210 LL ~         issue_59764::{makro as foobar, 
211 LL | 
212  ...
213 LL | 
214 LL ~             foo::{baz}
215    |
216
217 error[E0432]: unresolved import `issue_59764::foo::makro`
218   --> $DIR/issue-59764.rs:127:5
219    |
220 LL | use issue_59764::foo::makro;
221    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `makro` in `foo`
222    |
223    = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined
224 help: a macro with this name exists at the root of the crate
225    |
226 LL | use issue_59764::makro;
227    |     ~~~~~~~~~~~~~~~~~~
228
229 error: cannot determine resolution for the macro `makro`
230   --> $DIR/issue-59764.rs:130:1
231    |
232 LL | makro!(bar);
233    | ^^^^^
234    |
235    = note: import resolution is stuck, try simplifying macro imports
236
237 error[E0425]: cannot find function `bar` in this scope
238   --> $DIR/issue-59764.rs:134:5
239    |
240 LL |     bar();
241    |     ^^^ not found in this scope
242
243 error: aborting due to 18 previous errors
244
245 Some errors have detailed explanations: E0425, E0432.
246 For more information about an error, try `rustc --explain E0425`.