fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0432]: unresolved import `my_core` 2 --> $DIR/extern-prelude-from-opaque-fail-2018.rs:21:9 3 | 4LL | use my_core; 5 | ^^^^^^^ no external crate `my_core` 6 7error[E0432]: unresolved import `my_core` 8 --> $DIR/extern-prelude-from-opaque-fail-2018.rs:8:13 9 | 10LL | use my_core; 11 | ^^^^^^^ no external crate `my_core` 12... 13LL | a!(); 14 | ---- in this macro invocation 15 | 16 = note: this error originates in the macro `a` (in Nightly builds, run with -Z macro-backtrace for more info) 17 18error[E0433]: failed to resolve: use of undeclared crate or module `my_core` 19 --> $DIR/extern-prelude-from-opaque-fail-2018.rs:12:18 20 | 21LL | fn f() { my_core::mem::drop(0); } 22 | ^^^^^^^ use of undeclared crate or module `my_core` 23... 24LL | a!(); 25 | ---- in this macro invocation 26 | 27 = help: consider importing one of these items: 28 std::mem 29 core::mem 30 = note: this error originates in the macro `a` (in Nightly builds, run with -Z macro-backtrace for more info) 31 32error[E0433]: failed to resolve: use of undeclared crate or module `my_core` 33 --> $DIR/extern-prelude-from-opaque-fail-2018.rs:25:14 34 | 35LL | fn f() { my_core::mem::drop(0); } 36 | ^^^^^^^ use of undeclared crate or module `my_core` 37 | 38help: consider importing one of these items 39 | 40LL + use core::mem; 41 | 42LL + use std::mem; 43 | 44help: if you import `mem`, refer to it directly 45 | 46LL - fn f() { my_core::mem::drop(0); } 47LL + fn f() { mem::drop(0); } 48 | 49 50error: aborting due to 4 previous errors 51 52Some errors have detailed explanations: E0432, E0433. 53For more information about an error, try `rustc --explain E0432`.