1
Fork 0
rust/src/test/ui/feature-gate/allow-features.rs

13 lines
320 B
Rust
Raw Normal View History

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