2019-05-21 19:47:23 -05:00
|
|
|
#![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
|
|
//~^ ERROR malformed `feature`
|
|
|
|
//~| ERROR malformed `feature`
|
2022-01-19 09:24:49 -06:00
|
|
|
//~| ERROR unknown feature `foo`
|
|
|
|
//~| ERROR unknown feature `foo_bar_baz`
|
2019-05-21 19:47:23 -05:00
|
|
|
#![feature] //~ ERROR malformed `feature` attribute
|
|
|
|
#![feature = "foo"] //~ ERROR malformed `feature` attribute
|
2014-03-21 20:05:05 -05:00
|
|
|
#![feature(test_removed_feature)] //~ ERROR: feature has been removed
|
2018-08-22 18:19:38 -05:00
|
|
|
|
|
|
|
fn main() {}
|