summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/hash-stable-is-unstable.rs
blob: 11fe688f3913bec53ac71fb5b0c28fcb564b18d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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() {}