rust/tests/ui/feature-gates/allow-features.rs
2023-01-11 09:32:08 +00:00

9 lines
213 B
Rust

// 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() {}