fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.2 KiB37 linesraw
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
19error[E0433]: failed to resolve: use of undeclared type or module `my_core`
20  --> $DIR/extern-prelude-from-opaque-fail.rs:11:18
21   |
22LL |         fn f() { my_core::mem::drop(0); }
23   |                  ^^^^^^^ use of undeclared type or module `my_core`
24...
25LL | a!();
26   | ----- in this macro invocation
27
28error[E0433]: failed to resolve: use of undeclared type or module `my_core`
29  --> $DIR/extern-prelude-from-opaque-fail.rs:24:14
30   |
31LL |     fn f() { my_core::mem::drop(0); }
32   |              ^^^^^^^ use of undeclared type or module `my_core`
33
34error: aborting due to 4 previous errors
35
36Some errors have detailed explanations: E0432, E0433.
37For more information about an error, try `rustc --explain E0432`.