about summary refs log tree commit diff
path: root/src/test/ui/gated-bad-feature.rs
blob: f8aa23d95e5b6c24ea04bc27bb6963fbf3d80c10 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
//~^ ERROR malformed `feature`
//~| ERROR malformed `feature`

#![feature] //~ ERROR malformed `feature` attribute
#![feature = "foo"] //~ ERROR malformed `feature` attribute

#![feature(test_removed_feature)] //~ ERROR: feature has been removed

fn main() {}