mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
11 lines
385 B
Rust
11 lines
385 B
Rust
#![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
//~^ ERROR malformed `feature`
|
|
//~| ERROR malformed `feature`
|
|
//~| ERROR unknown feature `foo`
|
|
//~| ERROR unknown feature `foo_bar_baz`
|
|
#![feature] //~ ERROR malformed `feature` attribute
|
|
#![feature = "foo"] //~ ERROR malformed `feature` attribute
|
|
#![feature(test_removed_feature)] //~ ERROR: feature has been removed
|
|
|
|
fn main() {}
|