]> git.lizzy.rs Git - rust.git/blob - src/test/ui/gated-bad-feature.rs
Rollup merge of #56044 - matthewjasper:function-param-drop-order, r=cramertj
[rust.git] / src / test / ui / gated-bad-feature.rs
1 #![feature(
2     foo_bar_baz,
3     foo(bar),
4     foo = "baz"
5 )]
6 //~^^^ ERROR: malformed feature
7 //~^^^ ERROR: malformed feature
8
9 #![feature] //~ ERROR: malformed feature
10 #![feature = "foo"] //~ ERROR: malformed feature
11
12 #![feature(test_removed_feature)] //~ ERROR: feature has been removed
13
14 fn main() {}