2019-09-29 20:17:27 -05:00
|
|
|
// ignore-stage1
|
|
|
|
// edition:2018
|
2020-03-29 11:08:01 -05:00
|
|
|
// compile-flags:--extern rustc_middle
|
2019-09-29 20:17:27 -05:00
|
|
|
|
2020-03-29 11:08:01 -05:00
|
|
|
// Test that `--extern rustc_middle` fails with `rustc_private`.
|
2019-09-29 20:17:27 -05:00
|
|
|
|
2020-03-29 11:08:01 -05:00
|
|
|
pub use rustc_middle;
|
2019-10-07 09:58:28 -05:00
|
|
|
//~^ ERROR use of unstable library feature 'rustc_private'
|
2019-09-29 20:17:27 -05:00
|
|
|
|
|
|
|
fn main() {}
|