rust/tests/ui/feature-gates/allow-features.rs

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

9 lines
214 B
Rust
Raw Normal View History

2019-09-03 21:10:12 -05:00
//@ compile-flags: -Z allow_features=lang_items
2019-03-13 18:29:24 -05:00
// Note: This test uses rustc internal flags because they will never stabilize.
#![feature(lang_items)]
#![feature(unknown_stdlib_feature)] //~ ERROR
2019-03-13 18:29:24 -05:00
fn main() {}