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