fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
932 B29 linesraw
1error[E0432]: unresolved import `core`
2  --> $DIR/feature-gate-extern_absolute_paths.rs:1:5
3   |
4LL | use core::default;
5   |     ^^^^ maybe a missing crate `core`?
6   |
7   = help: consider adding `extern crate core` to use the `core` crate
8
9error[E0433]: failed to resolve: maybe a missing crate `core`?
10  --> $DIR/feature-gate-extern_absolute_paths.rs:4:19
11   |
12LL |     let _: u8 = ::core::default::Default();
13   |                   ^^^^ maybe a missing crate `core`?
14   |
15   = help: consider adding `extern crate core` to use the `core` crate
16help: consider importing this module
17   |
18LL + use std::default;
19   |
20help: if you import `default`, refer to it directly
21   |
22LL -     let _: u8 = ::core::default::Default();
23LL +     let _: u8 = default::Default();
24   |
25
26error: aborting due to 2 previous errors
27
28Some errors have detailed explanations: E0432, E0433.
29For more information about an error, try `rustc --explain E0432`.