rust/src/test/ui/feature-gate/allow-features-empty.rs
2019-09-05 12:35:18 -04:00

11 lines
258 B
Rust

// compile-flags: -Z allow_features=
// Note: This test uses rustc internal flags because they will never stabilize.
#![feature(rustc_const_unstable)] //~ ERROR
#![feature(lang_items)] //~ ERROR
#![feature(unknown_stdlib_feature)] //~ ERROR
fn main() {}