summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/pathless-extern-unstable.rs
blob: 50d157c5795e8e2648047cb057f9f17f052a82a1 (plain)
1
2
3
4
5
6
7
8
9
10
// edition:2018
// compile-flags:--extern rustc_middle
// ignore-stage1

// Test that `--extern rustc_middle` fails with `rustc_private`.

pub use rustc_middle;
//~^ ERROR use of unstable library feature 'rustc_private'

fn main() {}