rust/tests/ui/imports/issue-37887.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
859 B
Plaintext
Raw Normal View History

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