summary refs log tree commit diff
path: root/src/test/ui/feature-gate/allow-features-empty.rs
blob: 784a1d2697d672b7816b3c42efab2c0bee0f7c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// compile-flags: -Z allow_features=
// Note: This test uses rustc internal flags because they will never stabilize.

#![feature(rustc_diagnostic_macros)] //~ ERROR

#![feature(rustc_const_unstable)] //~ ERROR

#![feature(lang_items)] //~ ERROR

#![feature(unknown_stdlib_feature)] //~ ERROR

fn main() {}