fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
2.7 KiB49 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: 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
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_middle;
14   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
15   |
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
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: 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
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: 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
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: 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 a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
46
47error: aborting due to 5 previous errors
48
49For more information about this error, try `rustc --explain E0658`.