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