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 16:11:54 -05:00
error[E0432]: unresolved import `libc`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-37887.rs:3:9
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | use libc::*;
2019-08-05 09:50:37 -05:00
| ^^^^ maybe a missing crate `libc`?
|
= help: consider adding `extern crate libc` to use the `libc` crate
2018-07-15 16:11:54 -05:00
2019-04-10 18:40:12 -05: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 09:56:47 -06:00
--> $DIR/issue-37887.rs:2:5
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | extern crate libc;
2018-07-15 16:11:54 -05:00
| ^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06: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 16:11:54 -05:00
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0432, E0658.
2018-07-15 16:11:54 -05:00
For more information about an error, try `rustc --explain E0432`.