1 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?
2 --> $DIR/hash-stable-is-unstable.rs:3:1
4 LL | extern crate rustc_data_structures;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: for more information, see https://github.com/rust-lang/rust/issues/27812
8 = help: add `#![feature(rustc_private)]` to the crate attributes to enable
10 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?
11 --> $DIR/hash-stable-is-unstable.rs:5:1
13 LL | extern crate rustc;
16 = note: for more information, see https://github.com/rust-lang/rust/issues/27812
17 = help: add `#![feature(rustc_private)]` to the crate attributes to enable
19 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?
20 --> $DIR/hash-stable-is-unstable.rs:7:1
22 LL | extern crate rustc_macros;
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
25 = note: for more information, see https://github.com/rust-lang/rust/issues/27812
26 = help: add `#![feature(rustc_private)]` to the crate attributes to enable
28 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?
29 --> $DIR/hash-stable-is-unstable.rs:10:5
31 LL | use rustc_macros::HashStable;
32 | ^^^^^^^^^^^^^^^^^^^^^^^^
34 = note: for more information, see https://github.com/rust-lang/rust/issues/27812
35 = help: add `#![feature(rustc_private)]` to the crate attributes to enable
37 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?
38 --> $DIR/hash-stable-is-unstable.rs:13:10
40 LL | #[derive(HashStable)]
43 = note: for more information, see https://github.com/rust-lang/rust/issues/27812
44 = help: add `#![feature(rustc_private)]` to the crate attributes to enable
46 error: aborting due to 5 previous errors
48 For more information about this error, try `rustc --explain E0658`.