os-rust/src/test/ui-fulldeps/hash-stable-is-unstable.rs

18 lines
454 B
Rust
Raw Normal View History

2019-03-05 19:28:20 +01:00
// ignore-stage1
extern crate rustc_data_structures;
//~^ use of unstable library feature 'rustc_private'
extern crate rustc_middle;
2019-03-05 19:28:20 +01:00
//~^ use of unstable library feature 'rustc_private'
extern crate rustc_macros;
//~^ 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() {}