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
320 B
Rust
Raw Normal View History

//@ ignore-stage1 FIXME: this line can be removed once these new error messages are in stage 0 rustc
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() {}