2018-07-15 16:11:54 -05:00
error[E0432]: unresolved import `libc`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-37887.rs:3:9
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | use libc::*;
2019-08-05 09:50:37 -05:00
| ^^^^ maybe a missing crate `libc`?
2022-05-21 21:48:35 -05:00
|
= help: consider adding `extern crate libc` to use the `libc` crate
2018-07-15 16:11:54 -05:00
2019-04-10 18:40:12 -05: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 09:56:47 -06:00
--> $DIR/issue-37887.rs:2:5
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | extern crate libc;
2018-07-15 16:11:54 -05:00
| ^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
2019-07-09 04:32:08 -05:00
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2018-07-15 16:11:54 -05:00
error: aborting due to 2 previous errors
2019-04-17 12:26:38 -05:00
Some errors have detailed explanations: E0432, E0658.
2018-07-15 16:11:54 -05:00
For more information about an error, try `rustc --explain E0432`.