rust/tests/ui-fulldeps/hash-stable-is-unstable.rs
2023-01-11 09:32:08 +00:00

18 lines
507 B
Rust

// ignore-stage1
// compile-flags: -Zdeduplicate-diagnostics=yes
extern crate rustc_data_structures;
//~^ use of unstable library feature 'rustc_private'
extern crate rustc_macros;
//~^ use of unstable library feature 'rustc_private'
extern crate rustc_query_system;
//~^ use of unstable library feature 'rustc_private'
use rustc_macros::HashStable;
//~^ use of unstable library feature 'rustc_private'
#[derive(HashStable)]
//~^ use of unstable library feature 'rustc_private'
struct Test;
fn main() {}