rust/tests/ui/feature-gates/allow-features-empty.rs
2024-02-16 20:02:50 +00:00

9 lines
214 B
Rust

//@ compile-flags: -Z allow_features=
// Note: This test uses rustc internal flags because they will never stabilize.
#![feature(lang_items)] //~ ERROR
#![feature(unknown_stdlib_feature)] //~ ERROR
fn main() {}