2017-12-10 00:30:47 +00:00
|
|
|
error[E0432]: unresolved import `core`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/feature-gate-extern_absolute_paths.rs:1:5
|
2017-12-10 00:30:47 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | use core::default;
|
2023-11-19 16:34:22 +00:00
|
|
|
| ^^^^
|
|
|
|
| |
|
2024-07-23 19:43:46 +00:00
|
|
|
| you might be missing crate `core`
|
2023-11-19 16:34:22 +00:00
|
|
|
| help: try using `std` instead of `core`: `std`
|
2017-12-10 00:30:47 +00:00
|
|
|
|
2024-07-23 19:43:46 +00:00
|
|
|
error[E0433]: failed to resolve: you might be missing crate `core`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/feature-gate-extern_absolute_paths.rs:4:19
|
2017-12-10 00:30:47 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | let _: u8 = ::core::default::Default();
|
2024-07-23 19:43:46 +00:00
|
|
|
| ^^^^ you might be missing crate `core`
|
2022-05-22 02:48:35 +00:00
|
|
|
|
|
2023-11-19 16:34:22 +00:00
|
|
|
help: try using `std` instead of `core`
|
|
|
|
|
|
|
|
|
LL | let _: u8 = ::std::default::Default();
|
|
|
|
| ~~~
|
2023-07-07 02:19:30 +00:00
|
|
|
help: consider importing this module
|
|
|
|
|
|
|
|
|
LL + use std::default;
|
|
|
|
|
|
|
|
|
help: if you import `default`, refer to it directly
|
|
|
|
|
|
|
|
|
LL - let _: u8 = ::core::default::Default();
|
|
|
|
LL + let _: u8 = default::Default();
|
|
|
|
|
|
2017-12-10 00:30:47 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0432, E0433.
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about an error, try `rustc --explain E0432`.
|