The bootstrap bump has happened, so the bootstrap compiler now contains the new diagnotic.
9 lines
217 B
Rust
9 lines
217 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() {}
|