rust/tests/ui-fulldeps/pathless-extern-unstable.rs
2023-01-11 09:32:08 +00:00

11 lines
234 B
Rust

// ignore-stage1
// edition:2018
// compile-flags:--extern rustc_middle
// Test that `--extern rustc_middle` fails with `rustc_private`.
pub use rustc_middle;
//~^ ERROR use of unstable library feature 'rustc_private'
fn main() {}