2019-05-22 00:47:23 +00:00
|
|
|
error[E0556]: malformed `feature` attribute input
|
|
|
|
--> $DIR/gated-bad-feature.rs:1:25
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-05-22 00:47:23 +00:00
|
|
|
LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
|
|
| ^^^^^^^^ help: expected just one word: `foo`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-05-22 00:47:23 +00:00
|
|
|
error[E0556]: malformed `feature` attribute input
|
|
|
|
--> $DIR/gated-bad-feature.rs:1:35
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-05-22 00:47:23 +00:00
|
|
|
LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
|
|
| ^^^^^^^^^^^ help: expected just one word: `foo`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-01-01 23:21:05 +00:00
|
|
|
error[E0557]: feature has been removed
|
2019-05-22 00:47:23 +00:00
|
|
|
--> $DIR/gated-bad-feature.rs:8:12
|
2019-01-01 23:21:05 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #![feature(test_removed_feature)]
|
2019-05-22 00:47:23 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ feature has been removed
|
2019-01-01 23:21:05 +00:00
|
|
|
|
2019-05-22 00:47:23 +00:00
|
|
|
error: malformed `feature` attribute input
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/gated-bad-feature.rs:6:1
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #![feature]
|
2022-02-21 10:58:44 +00:00
|
|
|
| ^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-05-22 00:47:23 +00:00
|
|
|
error: malformed `feature` attribute input
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/gated-bad-feature.rs:7:1
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #![feature = "foo"]
|
2022-02-21 10:58:44 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2022-01-19 15:24:49 +00:00
|
|
|
error[E0635]: unknown feature `foo_bar_baz`
|
|
|
|
--> $DIR/gated-bad-feature.rs:1:12
|
|
|
|
|
|
|
|
|
LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0635]: unknown feature `foo`
|
|
|
|
--> $DIR/gated-bad-feature.rs:1:48
|
|
|
|
|
|
|
|
|
LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2022-01-19 15:24:49 +00:00
|
|
|
Some errors have detailed explanations: E0556, E0557, E0635.
|
2019-10-03 12:11:39 +00:00
|
|
|
For more information about an error, try `rustc --explain E0556`.
|