mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
11 lines
237 B
Rust
11 lines
237 B
Rust
//@ edition:2018
|
|
//@ ignore-stage1
|
|
//@ 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() {}
|