rust/src/test/ui/gated-bad-feature.stderr

34 lines
851 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0556]: malformed feature, expected just one word
2018-12-25 09:56:47 -06:00
--> $DIR/gated-bad-feature.rs:3:5
2018-08-08 07:28:26 -05:00
|
LL | foo(bar),
| ^^^^^^^^
error[E0556]: malformed feature, expected just one word
2018-12-25 09:56:47 -06:00
--> $DIR/gated-bad-feature.rs:4:5
2018-08-08 07:28:26 -05:00
|
LL | foo = "baz"
| ^^^^^^^^^^^
error[E0557]: feature has been removed
--> $DIR/gated-bad-feature.rs:12:12
|
2019-03-09 06:03:44 -06:00
LL | #![feature(test_removed_feature)]
| ^^^^^^^^^^^^^^^^^^^^
error: attribute must be of the form `#[feature(name1, name1, ...)]`
2018-12-25 09:56:47 -06:00
--> $DIR/gated-bad-feature.rs:9:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #![feature]
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^
error: attribute must be of the form `#[feature(name1, name1, ...)]`
2018-12-25 09:56:47 -06:00
--> $DIR/gated-bad-feature.rs:10:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #![feature = "foo"]
2018-08-08 07:28:26 -05:00
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to 5 previous errors
2018-08-08 07:28:26 -05:00
For more information about this error, try `rustc --explain E0557`.