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: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
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_macros;
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
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_query_system;
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
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: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
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: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
44 = help: add `#![feature(rustc_private)]` to the crate attributes to enable
45 = note: this error originates in the derive macro `HashStable` (in Nightly builds, run with -Z macro-backtrace for more info)
47 error: aborting due to 5 previous errors
49 For more information about this error, try `rustc --explain E0658`.