rust/tests/ui-fulldeps/pathless-extern-unstable.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
234 B
Rust
Raw Normal View History

2019-09-30 01:17:27 +00:00
// ignore-stage1
// edition:2018
// compile-flags:--extern rustc_middle
2019-09-30 01:17:27 +00:00
// Test that `--extern rustc_middle` fails with `rustc_private`.
2019-09-30 01:17:27 +00:00
pub use rustc_middle;
//~^ ERROR use of unstable library feature 'rustc_private'
2019-09-30 01:17:27 +00:00
fn main() {}