]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/gated-bad-feature.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / feature-gates / gated-bad-feature.rs
1 #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
2 //~^ ERROR malformed `feature`
3 //~| ERROR malformed `feature`
4 //~| ERROR unknown feature `foo`
5 //~| ERROR unknown feature `foo_bar_baz`
6 #![feature] //~ ERROR malformed `feature` attribute
7 #![feature = "foo"] //~ ERROR malformed `feature` attribute
8 #![feature(test_removed_feature)] //~ ERROR: feature has been removed
9
10 fn main() {}