]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/hash-stable-is-unstable.stderr
Rollup merge of #68504 - tmiasko:check-pass, r=alexcrichton
[rust.git] / src / test / ui-fulldeps / hash-stable-is-unstable.stderr
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
3    |
4 LL | extern crate rustc_data_structures;
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
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
9
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
12    |
13 LL | extern crate rustc;
14    | ^^^^^^^^^^^^^^^^^^^
15    |
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
18
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
21    |
22 LL | extern crate rustc_macros;
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
24    |
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
27
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
30    |
31 LL | use rustc_macros::HashStable;
32    |     ^^^^^^^^^^^^^^^^^^^^^^^^
33    |
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
36
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
39    |
40 LL | #[derive(HashStable)]
41    |          ^^^^^^^^^^
42    |
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
45
46 error: aborting due to 5 previous errors
47
48 For more information about this error, try `rustc --explain E0658`.