]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/extern-prelude-from-opaque-fail.stderr
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[rust.git] / src / test / ui / hygiene / extern-prelude-from-opaque-fail.stderr
1 error[E0432]: unresolved import `my_core`
2   --> $DIR/extern-prelude-from-opaque-fail.rs:20:9
3    |
4 LL |     use my_core;
5    |         ^^^^^^^
6    |         |
7    |         no `my_core` in the root
8    |         help: a similar name exists in the module: `my_core`
9
10 error[E0432]: unresolved import `my_core`
11   --> $DIR/extern-prelude-from-opaque-fail.rs:7:13
12    |
13 LL |         use my_core;
14    |             ^^^^^^^ no `my_core` in the root
15 ...
16 LL | a!();
17    | ---- in this macro invocation
18    |
19    = note: this error originates in the macro `a` (in Nightly builds, run with -Z macro-backtrace for more info)
20
21 error[E0433]: failed to resolve: use of undeclared crate or module `my_core`
22   --> $DIR/extern-prelude-from-opaque-fail.rs:11:18
23    |
24 LL |         fn f() { my_core::mem::drop(0); }
25    |                  ^^^^^^^ use of undeclared crate or module `my_core`
26 ...
27 LL | a!();
28    | ---- in this macro invocation
29    |
30    = note: this error originates in the macro `a` (in Nightly builds, run with -Z macro-backtrace for more info)
31
32 error[E0433]: failed to resolve: use of undeclared crate or module `my_core`
33   --> $DIR/extern-prelude-from-opaque-fail.rs:24:14
34    |
35 LL |     fn f() { my_core::mem::drop(0); }
36    |              ^^^^^^^ use of undeclared crate or module `my_core`
37
38 error: aborting due to 4 previous errors
39
40 Some errors have detailed explanations: E0432, E0433.
41 For more information about an error, try `rustc --explain E0432`.