rust/src/test/ui/gated-bad-feature.stderr
2019-01-13 14:17:19 +03:00

35 lines
1003 B
Plaintext

error[E0556]: malformed feature, expected just one word
--> $DIR/gated-bad-feature.rs:3:5
|
LL | foo(bar),
| ^^^^^^^^
error[E0556]: malformed feature, expected just one word
--> $DIR/gated-bad-feature.rs:4:5
|
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, ...)]`
--> $DIR/gated-bad-feature.rs:9:1
|
LL | #![feature] //~ ERROR: attribute must be of the form
| ^^^^^^^^^^^
error: attribute must be of the form `#[feature(name1, name1, ...)]`
--> $DIR/gated-bad-feature.rs:10:1
|
LL | #![feature = "foo"] //~ ERROR: attribute must be of the form
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to 5 previous errors
Some errors occurred: E0556, E0557.
For more information about an error, try `rustc --explain E0556`.