]> git.lizzy.rs Git - rust.git/blob - src/test/ui/gated-bad-feature.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[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: attribute must be of the form
10 #![feature = "foo"] //~ ERROR: attribute must be of the form
11
12 #![feature(test_removed_feature)] //~ ERROR: feature has been removed
13
14 fn main() {}