fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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