mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:01:17 +01:00
ae428141f7
This commit can be reverted once the error message changes are in the stage 0 compiler.
32 lines
1.7 KiB
Rust
32 lines
1.7 KiB
Rust
//@ ignore-stage1 FIXME: this line can be removed once these new error messages are in stage 0 rustc
|
|
//@ compile-flags: -Zdeduplicate-diagnostics=yes
|
|
extern crate rustc_data_structures;
|
|
//~^ use of unstable library feature `rustc_private`
|
|
//~| NOTE: issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
|
|
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
extern crate rustc_macros;
|
|
//~^ use of unstable library feature `rustc_private`
|
|
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
|
|
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
extern crate rustc_query_system;
|
|
//~^ use of unstable library feature `rustc_private`
|
|
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
|
|
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
use rustc_macros::HashStable;
|
|
//~^ use of unstable library feature `rustc_private`
|
|
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
|
|
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
#[derive(HashStable)]
|
|
//~^ use of unstable library feature `rustc_private`
|
|
//~| NOTE: in this expansion of #[derive(HashStable)]
|
|
//~| NOTE: in this expansion of #[derive(HashStable)]
|
|
//~| NOTE: in this expansion of #[derive(HashStable)]
|
|
//~| NOTE: in this expansion of #[derive(HashStable)]
|
|
//~| NOTE: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
|
|
//~| NOTE: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
struct Test;
|
|
|
|
fn main() {}
|