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.

17 lines
490 B
Rust
Raw Normal View History

2022-03-20 20:24:06 +00:00
// compile-flags: -Zdeduplicate-diagnostics=yes
2019-03-05 18:28:20 +00:00
extern crate rustc_data_structures;
//~^ use of unstable library feature 'rustc_private'
extern crate rustc_macros;
//~^ use of unstable library feature 'rustc_private'
2021-09-26 13:54:02 +00:00
extern crate rustc_query_system;
//~^ use of unstable library feature 'rustc_private'
2019-03-05 18:28:20 +00:00
use rustc_macros::HashStable;
//~^ use of unstable library feature 'rustc_private'
#[derive(HashStable)]
//~^ use of unstable library feature 'rustc_private'
struct Test;
fn main() {}