]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-37887.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-37887.stderr
1 error[E0432]: unresolved import `libc`
2   --> $DIR/issue-37887.rs:3:9
3    |
4 LL |     use libc::*; //~ ERROR unresolved import
5    |         ^^^^ maybe a missing `extern crate libc;`?
6
7 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? (see issue #27812)
8   --> $DIR/issue-37887.rs:2:5
9    |
10 LL |     extern crate libc; //~ ERROR use of unstable
11    |     ^^^^^^^^^^^^^^^^^^
12    |
13    = help: add #![feature(rustc_private)] to the crate attributes to enable
14
15 error: aborting due to 2 previous errors
16
17 Some errors occurred: E0432, E0658.
18 For more information about an error, try `rustc --explain E0432`.