]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/pathless-extern-unstable.rs
Rollup merge of #90022 - hkmatsumoto:self-upper-as-generic-parameter, r=jackh726
[rust.git] / src / test / ui-fulldeps / pathless-extern-unstable.rs
1 // ignore-stage1
2 // edition:2018
3 // compile-flags:--extern rustc_middle
4
5 // Test that `--extern rustc_middle` fails with `rustc_private`.
6
7 pub use rustc_middle;
8 //~^ ERROR use of unstable library feature 'rustc_private'
9
10 fn main() {}