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

35 lines
1003 B
Plaintext
Raw Normal View History

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