Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
feature-gates
/
allow-features-empty.rs
blob: 65f9be74c6c3b0484b9c4d2b11e9ab140a17e6ca [
file
] [
log
] [
blame
]
//@ 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
()
{}