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