rust/src/test/ui/gated-bad-feature.rs
2019-01-13 14:17:19 +03:00

15 lines
326 B
Rust

#![feature(
foo_bar_baz,
foo(bar),
foo = "baz"
)]
//~^^^ ERROR: malformed feature
//~^^^ ERROR: malformed feature
#![feature] //~ ERROR: attribute must be of the form
#![feature = "foo"] //~ ERROR: attribute must be of the form
#![feature(test_removed_feature)] //~ ERROR: feature has been removed
fn main() {}