]> git.lizzy.rs Git - rust.git/blob - src/test/ui/gated-bad-feature.rs
Rollup merge of #61244 - RalfJung:box, r=rkruppe
[rust.git] / src / test / ui / gated-bad-feature.rs
1 #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
2 //~^ ERROR malformed `feature`
3 //~| ERROR malformed `feature`
4
5 #![feature] //~ ERROR malformed `feature` attribute
6 #![feature = "foo"] //~ ERROR malformed `feature` attribute
7
8 #![feature(test_removed_feature)] //~ ERROR: feature has been removed
9
10 fn main() {}