summary refs log tree commit diff
path: root/src/test/ui/feature-gate/allow-features.rs
blob: de3439a5b628f1868d81564a63019968dddbedb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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

fn main() {}