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.

10 lines
219 B
Rust
Raw Normal View History

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