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

9 lines
213 B
Rust
Raw Normal View History

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