2018-07-15 14:11:54 -07:00
error[E0432]: unresolved import `libc`
2018-12-25 08:56:47 -07:00
--> $DIR/issue-37887.rs:3:9
2018-07-15 14:11:54 -07:00
|
2019-03-09 15:03:44 +03:00
LL | use libc::*;
2019-08-05 15:50:37 +01:00
| ^^^^ maybe a missing crate `libc`?
2022-05-22 11:48:35 +09:00
|
= help: consider adding `extern crate libc` to use the `libc` crate
2018-07-15 14:11:54 -07:00
2019-04-10 16:40:12 -07:00
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2018-12-25 08:56:47 -07:00
--> $DIR/issue-37887.rs:2:5
2018-07-15 14:11:54 -07:00
|
2019-03-09 15:03:44 +03:00
LL | extern crate libc;
2018-07-15 14:11:54 -07:00
| ^^^^^^^^^^^^^^^^^^
|
2020-02-07 13:07:02 +01:00
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
2019-07-09 11:32:08 +02:00
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2018-07-15 14:11:54 -07:00
error: aborting due to 2 previous errors
2019-04-17 13:26:38 -04:00
Some errors have detailed explanations: E0432, E0658.
2018-07-15 14:11:54 -07:00
For more information about an error, try `rustc --explain E0432`.