]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/allow-features.rs
Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree
[rust.git] / src / test / ui / feature-gates / allow-features.rs
1 // compile-flags: -Z allow_features=lang_items
2 // Note: This test uses rustc internal flags because they will never stabilize.
3
4 #![feature(lang_items)]
5
6 #![feature(unknown_stdlib_feature)] //~ ERROR
7
8 fn main() {}