2019-05-21 17:47:23 -07:00
|
|
|
error[E0556]: malformed `feature` attribute input
|
|
|
|
--> $DIR/gated-bad-feature.rs:1:25
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-05-21 17:47:23 -07:00
|
|
|
LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
|
|
| ^^^^^^^^ help: expected just one word: `foo`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2019-05-21 17:47:23 -07:00
|
|
|
error[E0556]: malformed `feature` attribute input
|
|
|
|
--> $DIR/gated-bad-feature.rs:1:35
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-05-21 17:47:23 -07:00
|
|
|
LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
|
|
| ^^^^^^^^^^^ help: expected just one word: `foo`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2019-01-02 02:21:05 +03:00
|
|
|
error[E0557]: feature has been removed
|
2019-05-21 17:47:23 -07:00
|
|
|
--> $DIR/gated-bad-feature.rs:8:12
|
2019-01-02 02:21:05 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #![feature(test_removed_feature)]
|
2019-05-21 17:47:23 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ feature has been removed
|
2019-01-02 02:21:05 +03:00
|
|
|
|
2019-05-21 17:47:23 -07:00
|
|
|
error: malformed `feature` attribute input
|
|
|
|
--> $DIR/gated-bad-feature.rs:5:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #![feature]
|
2019-05-21 17:47:23 -07:00
|
|
|
| ^^^^^^^^^^^ help: must be of the form: `#[feature(name1, name1, ...)]`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2019-05-21 17:47:23 -07:00
|
|
|
error: malformed `feature` attribute input
|
|
|
|
--> $DIR/gated-bad-feature.rs:6:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #![feature = "foo"]
|
2019-05-21 17:47:23 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[feature(name1, name1, ...)]`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2018-08-23 02:19:38 +03:00
|
|
|
error: aborting due to 5 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2019-04-17 13:26:38 -04:00
|
|
|
For more information about this error, try `rustc --explain E0557`.
|