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