You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui-fulldeps/hash-stable-is-unstable.stderr
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
2
2
|
3
3
= note: consider adding a `main` function to `$DIR/hash-stable-is-unstable.rs`
4
4
5
-
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?
5
+
error[E0658]: use of unstable library feature 'rustc_private': crate "rustc_data_structures" is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
12
12
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
13
13
14
-
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?
14
+
error[E0658]: use of unstable library feature 'rustc_private': crate "rustc" is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)
15
15
--> $DIR/hash-stable-is-unstable.rs:5:1
16
16
|
17
17
LL | extern crate rustc;
@@ -20,7 +20,7 @@ LL | extern crate rustc;
20
20
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
21
21
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
22
22
23
-
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?
23
+
error[E0658]: use of unstable library feature 'rustc_private': crate "rustc_macros" is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)
24
24
--> $DIR/hash-stable-is-unstable.rs:7:1
25
25
|
26
26
LL | extern crate rustc_macros;
@@ -29,7 +29,7 @@ LL | extern crate rustc_macros;
29
29
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
30
30
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
31
31
32
-
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?
32
+
error[E0658]: use of unstable library feature 'rustc_private': crate "rustc_macros" is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)
33
33
--> $DIR/hash-stable-is-unstable.rs:10:5
34
34
|
35
35
LL | use rustc_macros::HashStable;
@@ -38,7 +38,7 @@ LL | use rustc_macros::HashStable;
38
38
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
39
39
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
40
40
41
-
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?
41
+
error[E0658]: use of unstable library feature 'rustc_private': crate "rustc_data_structures" is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)
42
42
--> $DIR/hash-stable-is-unstable.rs:13:10
43
43
|
44
44
LL | #[derive(HashStable)]
@@ -47,7 +47,15 @@ LL | #[derive(HashStable)]
47
47
= note: for more information, see https://github.com/rust-lang/rust/issues/27812
48
48
= help: add `#![feature(rustc_private)]` to the crate attributes to enable
49
49
50
-
error: aborting due to 6 previous errors
50
+
error[E0658]: use of unstable library feature 'rustc_private': crate "rustc" is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)
51
+
--> $DIR/hash-stable-is-unstable.rs:13:10
52
+
|
53
+
LL | #[derive(HashStable)]
54
+
| ^^^^^^^^^^
55
+
|
56
+
= help: add #![feature(rustc_private)] to the crate attributes to enable
57
+
58
+
error: aborting due to 7 previous errors
51
59
52
-
Some errors have detailed explanations: E0601, E0658.
60
+
Some errors occurred: E0601, E0658.
53
61
For more information about an error, try `rustc --explain E0601`.
0 commit comments