rust/tests/ui-fulldeps/pathless-extern-unstable.rs
Nilstrieb 93f595fb2b Run some ui-fulldeps tests on stage 1 again
This is the second time I'm doing this... I'm starting to feel like
stage1 ui-fulldeps tests were a mistake. Maybe I should have just put
`#[cfg(bootstrap)]` there to let the bootstrap bumper fix it.
2024-03-03 18:41:25 +01:00

10 lines
219 B
Rust

//@ 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() {}