rust/tests/ui-fulldeps/pathless-extern-unstable.rs

10 lines
217 B
Rust
Raw Normal View History

2019-09-29 20:17:27 -05:00
// edition:2018
// compile-flags:--extern rustc_middle
2019-09-29 20:17:27 -05:00
// Test that `--extern rustc_middle` fails with `rustc_private`.
2019-09-29 20:17:27 -05:00
pub use rustc_middle;
//~^ ERROR use of unstable library feature 'rustc_private'
2019-09-29 20:17:27 -05:00
fn main() {}