ae428141f7
This commit can be reverted once the error message changes are in the stage 0 compiler.
11 lines
320 B
Rust
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() {}
|