]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-37887.stderr
Auto merge of #106853 - TimNN:undo-remap, r=oli-obk
[rust.git] / tests / ui / imports / issue-37887.stderr
1 error[E0432]: unresolved import `libc`
2   --> $DIR/issue-37887.rs:3:9
3    |
4 LL |     use libc::*;
5    |         ^^^^ maybe a missing crate `libc`?
6    |
7    = help: consider adding `extern crate libc` to use the `libc` crate
8
9 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?
10   --> $DIR/issue-37887.rs:2:5
11    |
12 LL |     extern crate libc;
13    |     ^^^^^^^^^^^^^^^^^^
14    |
15    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
16    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
17
18 error: aborting due to 2 previous errors
19
20 Some errors have detailed explanations: E0432, E0658.
21 For more information about an error, try `rustc --explain E0432`.