fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
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 18 | 19 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 20 21error[E0433]: failed to resolve: use of undeclared type or module `my_core` 22 --> $DIR/extern-prelude-from-opaque-fail.rs:11:18 23 | 24LL | fn f() { my_core::mem::drop(0); } 25 | ^^^^^^^ use of undeclared type or module `my_core` 26... 27LL | a!(); 28 | ----- in this macro invocation 29 | 30 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 31 32error[E0433]: failed to resolve: use of undeclared type or module `my_core` 33 --> $DIR/extern-prelude-from-opaque-fail.rs:24:14 34 | 35LL | fn f() { my_core::mem::drop(0); } 36 | ^^^^^^^ use of undeclared type or module `my_core` 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`.