1 error[E0556]: malformed `feature` attribute input
2 --> $DIR/gated-bad-feature.rs:1:25
4 LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
5 | ^^^^^^^^ help: expected just one word: `foo`
7 error[E0556]: malformed `feature` attribute input
8 --> $DIR/gated-bad-feature.rs:1:35
10 LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
11 | ^^^^^^^^^^^ help: expected just one word: `foo`
13 error[E0557]: feature has been removed
14 --> $DIR/gated-bad-feature.rs:8:12
16 LL | #![feature(test_removed_feature)]
17 | ^^^^^^^^^^^^^^^^^^^^ feature has been removed
19 error: malformed `feature` attribute input
20 --> $DIR/gated-bad-feature.rs:6:1
23 | ^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
25 error: malformed `feature` attribute input
26 --> $DIR/gated-bad-feature.rs:7:1
28 LL | #![feature = "foo"]
29 | ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
31 error[E0635]: unknown feature `foo_bar_baz`
32 --> $DIR/gated-bad-feature.rs:1:12
34 LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
37 error[E0635]: unknown feature `foo`
38 --> $DIR/gated-bad-feature.rs:1:48
40 LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
43 error: aborting due to 7 previous errors
45 Some errors have detailed explanations: E0556, E0557, E0635.
46 For more information about an error, try `rustc --explain E0556`.