]>
Commit | Line | Data |
---|---|---|
dc9dc135 XL |
1 | error[E0556]: malformed `feature` attribute input |
2 | --> $DIR/gated-bad-feature.rs:1:25 | |
b7449926 | 3 | | |
dc9dc135 XL |
4 | LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)] |
5 | | ^^^^^^^^ help: expected just one word: `foo` | |
b7449926 | 6 | |
dc9dc135 XL |
7 | error[E0556]: malformed `feature` attribute input |
8 | --> $DIR/gated-bad-feature.rs:1:35 | |
b7449926 | 9 | | |
dc9dc135 XL |
10 | LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)] |
11 | | ^^^^^^^^^^^ help: expected just one word: `foo` | |
b7449926 | 12 | |
9fa01778 | 13 | error[E0557]: feature has been removed |
dc9dc135 | 14 | --> $DIR/gated-bad-feature.rs:8:12 |
9fa01778 | 15 | | |
532ac7d7 | 16 | LL | #![feature(test_removed_feature)] |
dc9dc135 | 17 | | ^^^^^^^^^^^^^^^^^^^^ feature has been removed |
9fa01778 | 18 | |
dc9dc135 XL |
19 | error: malformed `feature` attribute input |
20 | --> $DIR/gated-bad-feature.rs:5:1 | |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | #![feature] |
dc9dc135 | 23 | | ^^^^^^^^^^^ help: must be of the form: `#[feature(name1, name1, ...)]` |
b7449926 | 24 | |
dc9dc135 XL |
25 | error: malformed `feature` attribute input |
26 | --> $DIR/gated-bad-feature.rs:6:1 | |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | #![feature = "foo"] |
dc9dc135 | 29 | | ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[feature(name1, name1, ...)]` |
b7449926 | 30 | |
b7449926 XL |
31 | error: aborting due to 5 previous errors |
32 | ||
e74abb32 XL |
33 | Some errors have detailed explanations: E0556, E0557. |
34 | For more information about an error, try `rustc --explain E0556`. |