summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/allow-features.rs
blob: 2ce4701a818037d7079dc30939b8b937c9db1696 (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Z allow_features=lang_items
// Note: This test uses rustc internal flags because they will never stabilize.

#![feature(lang_items)]

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

fn main() {}