rust/tests/ui-fulldeps/pathless-extern-unstable.rs
dianne ae428141f7 Don't test new error messages with the stage 0 compiler
This commit can be reverted once the error message changes are in the stage 0 compiler.
2024-11-03 14:32:25 -08:00

11 lines
320 B
Rust

//@ ignore-stage1 FIXME: this line can be removed once these new error messages are in stage 0 rustc
//@ 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() {}