fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
2.5 KiB48 linesraw
1error[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   |
4LL | 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
10error[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   |
13LL | 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
19error[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   |
22LL | 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
28error[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   |
31LL | 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
37error[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   |
40LL | #[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
46error: aborting due to 5 previous errors
47
48For more information about this error, try `rustc --explain E0658`.