]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/allow-features.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[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() {}