rust/src/test/ui-fulldeps/hash-stable-is-unstable.stderr

54 lines
2.7 KiB
Plaintext
Raw Normal View History

2019-03-05 18:28:20 +00:00
error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
|
= note: consider adding a `main` function to `$DIR/hash-stable-is-unstable.rs`
2019-04-11 21:18:38 +00: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?
2019-03-05 18:28:20 +00:00
--> $DIR/hash-stable-is-unstable.rs:3:1
|
LL | extern crate rustc_data_structures;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-04-11 21:18:38 +00:00
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-03-05 18:28:20 +00:00
2019-04-11 21:18:38 +00: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?
2019-03-05 18:28:20 +00:00
--> $DIR/hash-stable-is-unstable.rs:5:1
|
LL | extern crate rustc;
| ^^^^^^^^^^^^^^^^^^^
|
2019-04-11 21:18:38 +00:00
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-03-05 18:28:20 +00:00
2019-04-11 21:18:38 +00: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?
2019-03-05 18:28:20 +00:00
--> $DIR/hash-stable-is-unstable.rs:7:1
|
LL | extern crate rustc_macros;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-04-11 21:18:38 +00:00
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-03-05 18:28:20 +00:00
2019-04-11 21:18:38 +00: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?
2019-03-05 18:28:20 +00:00
--> $DIR/hash-stable-is-unstable.rs:10:5
|
LL | use rustc_macros::HashStable;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-04-11 21:18:38 +00:00
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-03-05 18:28:20 +00:00
2019-04-11 21:18:38 +00: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?
2019-03-05 18:28:20 +00:00
--> $DIR/hash-stable-is-unstable.rs:13:10
|
LL | #[derive(HashStable)]
| ^^^^^^^^^^
|
2019-04-11 21:18:38 +00:00
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-03-05 18:28:20 +00:00
error: aborting due to 6 previous errors
Some errors have detailed explanations: E0601, E0658.
2019-03-05 18:28:20 +00:00
For more information about an error, try `rustc --explain E0601`.