fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
769 B19 linesraw
1error[E0432]: unresolved import `libc`
2  --> $DIR/issue-37887.rs:3:9
3   |
4LL |     use libc::*;
5   |         ^^^^ maybe a missing crate `libc`?
6
7error[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?
8  --> $DIR/issue-37887.rs:2:5
9   |
10LL |     extern crate libc;
11   |     ^^^^^^^^^^^^^^^^^^
12   |
13   = note: for more information, see https://github.com/rust-lang/rust/issues/27812
14   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
15
16error: aborting due to 2 previous errors
17
18Some errors have detailed explanations: E0432, E0658.
19For more information about an error, try `rustc --explain E0432`.