mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Don't test new error messages with the stage 0 compiler
This commit can be reverted once the error message changes are in the stage 0 compiler.
This commit is contained in:
parent
d7d6238b23
commit
ae428141f7
@ -1,3 +1,4 @@
|
|||||||
|
//@ ignore-stage1 FIXME: this line can be removed once these new error messages are in stage 0 rustc
|
||||||
//@ compile-flags: -Zdeduplicate-diagnostics=yes
|
//@ compile-flags: -Zdeduplicate-diagnostics=yes
|
||||||
extern crate rustc_data_structures;
|
extern crate rustc_data_structures;
|
||||||
//~^ use of unstable library feature `rustc_private`
|
//~^ use of unstable library feature `rustc_private`
|
||||||
|
@ -1,5 +1,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?
|
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?
|
||||||
--> $DIR/hash-stable-is-unstable.rs:2:1
|
--> $DIR/hash-stable-is-unstable.rs:3:1
|
||||||
|
|
|
|
||||||
LL | extern crate rustc_data_structures;
|
LL | extern crate rustc_data_structures;
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -9,7 +9,7 @@ LL | extern crate rustc_data_structures;
|
|||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
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?
|
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?
|
||||||
--> $DIR/hash-stable-is-unstable.rs:6:1
|
--> $DIR/hash-stable-is-unstable.rs:7:1
|
||||||
|
|
|
|
||||||
LL | extern crate rustc_macros;
|
LL | extern crate rustc_macros;
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -19,7 +19,7 @@ LL | extern crate rustc_macros;
|
|||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
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?
|
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?
|
||||||
--> $DIR/hash-stable-is-unstable.rs:10:1
|
--> $DIR/hash-stable-is-unstable.rs:11:1
|
||||||
|
|
|
|
||||||
LL | extern crate rustc_query_system;
|
LL | extern crate rustc_query_system;
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -29,7 +29,7 @@ LL | extern crate rustc_query_system;
|
|||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
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?
|
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?
|
||||||
--> $DIR/hash-stable-is-unstable.rs:15:5
|
--> $DIR/hash-stable-is-unstable.rs:16:5
|
||||||
|
|
|
|
||||||
LL | use rustc_macros::HashStable;
|
LL | use rustc_macros::HashStable;
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -39,7 +39,7 @@ LL | use rustc_macros::HashStable;
|
|||||||
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
||||||
|
|
||||||
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?
|
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?
|
||||||
--> $DIR/hash-stable-is-unstable.rs:20:10
|
--> $DIR/hash-stable-is-unstable.rs:21:10
|
||||||
|
|
|
|
||||||
LL | #[derive(HashStable)]
|
LL | #[derive(HashStable)]
|
||||||
| ^^^^^^^^^^
|
| ^^^^^^^^^^
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
//@ ignore-stage1 FIXME: this line can be removed once these new error messages are in stage 0 rustc
|
||||||
//@ edition:2018
|
//@ edition:2018
|
||||||
//@ compile-flags:--extern rustc_middle
|
//@ compile-flags:--extern rustc_middle
|
||||||
|
|
||||||
|
@ -1,5 +1,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?
|
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?
|
||||||
--> $DIR/pathless-extern-unstable.rs:6:9
|
--> $DIR/pathless-extern-unstable.rs:7:9
|
||||||
|
|
|
|
||||||
LL | pub use rustc_middle;
|
LL | pub use rustc_middle;
|
||||||
| ^^^^^^^^^^^^
|
| ^^^^^^^^^^^^
|
||||||
|
Loading…
Reference in New Issue
Block a user