mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
93f595fb2b
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.
10 lines
219 B
Rust
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() {}
|