]> git.lizzy.rs Git - rust.git/blob - src/test/ui/gated-bad-feature.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[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() {}