fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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