]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-extern_absolute_paths.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-extern_absolute_paths.stderr
CommitLineData
ff7c6d11 1error[E0432]: unresolved import `core`
0731742a 2 --> $DIR/feature-gate-extern_absolute_paths.rs:1:5
ff7c6d11 3 |
532ac7d7 4LL | use core::default;
416331ca 5 | ^^^^ maybe a missing crate `core`?
923072b8
FG
6 |
7 = help: consider adding `extern crate core` to use the `core` crate
ff7c6d11 8
416331ca 9error[E0433]: failed to resolve: maybe a missing crate `core`?
0731742a 10 --> $DIR/feature-gate-extern_absolute_paths.rs:4:19
ff7c6d11 11 |
532ac7d7 12LL | let _: u8 = ::core::default::Default();
416331ca 13 | ^^^^ maybe a missing crate `core`?
923072b8
FG
14 |
15 = help: consider adding `extern crate core` to use the `core` crate
ff7c6d11
XL
16
17error: aborting due to 2 previous errors
18
48663c56 19Some errors have detailed explanations: E0432, E0433.
0531ce1d 20For more information about an error, try `rustc --explain E0432`.