]> git.lizzy.rs Git - rust.git/blobdiff - 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
index 48fb6c2e6faa7404328f0d58077a17aaebf3f00f..3b3ce8b39bc9481308085aa749fed5f92cf6a450 100644 (file)
@@ -1,16 +1,16 @@
 error[E0432]: unresolved import `libc`
-  --> $DIR/issue-37887.rs:13:9
+  --> $DIR/issue-37887.rs:3:9
    |
 LL |     use libc::*; //~ ERROR unresolved import
    |         ^^^^ maybe a missing `extern crate libc;`?
 
-error[E0658]: use of unstable library feature 'libc': use `libc` from crates.io (see issue #27783)
-  --> $DIR/issue-37887.rs:12:5
+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)
+  --> $DIR/issue-37887.rs:2:5
    |
 LL |     extern crate libc; //~ ERROR use of unstable
    |     ^^^^^^^^^^^^^^^^^^
    |
-   = help: add #![feature(libc)] to the crate attributes to enable
+   = help: add #![feature(rustc_private)] to the crate attributes to enable
 
 error: aborting due to 2 previous errors