mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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() {}
|