rust/tests/ui-fulldeps/hash-stable-is-unstable.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
1.7 KiB
Rust
Raw Normal View History

//@ ignore-stage1 FIXME: this line can be removed once these new error messages are in stage 0 rustc
2022-03-20 15:24:06 -05:00
//@ compile-flags: -Zdeduplicate-diagnostics=yes
2019-03-05 12:28:20 -06:00
extern crate rustc_data_structures;
//~^ use of unstable library feature `rustc_private`
2024-01-10 00:39:02 -06:00
//~| 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
2019-03-05 12:28:20 -06:00
extern crate rustc_macros;
//~^ use of unstable library feature `rustc_private`
2024-01-10 00:39:02 -06:00
//~| 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
2021-09-26 08:54:02 -05:00
extern crate rustc_query_system;
//~^ use of unstable library feature `rustc_private`
2024-01-10 00:39:02 -06:00
//~| 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
2019-03-05 12:28:20 -06:00
use rustc_macros::HashStable;
//~^ use of unstable library feature `rustc_private`
2024-01-10 00:39:02 -06:00
//~| 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
2019-03-05 12:28:20 -06:00
#[derive(HashStable)]
//~^ use of unstable library feature `rustc_private`
2024-01-10 00:39:02 -06:00
//~| 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
2019-03-05 12:28:20 -06:00
struct Test;
fn main() {}