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

fn main() {}