rust/src/test/ui/feature-gates/feature-gate-extern_absolute_paths.stderr

17 lines
564 B
Plaintext
Raw Normal View History

error[E0432]: unresolved import `core`
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-extern_absolute_paths.rs:1:5
|
2019-03-09 06:03:44 -06:00
LL | use core::default;
| ^^^^ maybe a missing `extern crate core;`?
error[E0433]: failed to resolve: maybe a missing `extern crate core;`?
2018-12-25 09:56:47 -06:00
--> $DIR/feature-gate-extern_absolute_paths.rs:4:19
|
2019-03-09 06:03:44 -06:00
LL | let _: u8 = ::core::default::Default();
| ^^^^ maybe a missing `extern crate core;`?
error: aborting due to 2 previous errors
2018-03-03 08:59:40 -06:00
Some errors occurred: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.