]> git.lizzy.rs Git - rust.git/blob - src/test/ui/gated-bad-feature.stderr
Auto merge of #60072 - RalfJung:linked-list, r=shepmaster
[rust.git] / src / test / ui / gated-bad-feature.stderr
1 error[E0556]: malformed feature, expected just one word
2   --> $DIR/gated-bad-feature.rs:3:5
3    |
4 LL |     foo(bar),
5    |     ^^^^^^^^
6
7 error[E0556]: malformed feature, expected just one word
8   --> $DIR/gated-bad-feature.rs:4:5
9    |
10 LL |     foo = "baz"
11    |     ^^^^^^^^^^^
12
13 error[E0557]: feature has been removed
14   --> $DIR/gated-bad-feature.rs:12:12
15    |
16 LL | #![feature(test_removed_feature)]
17    |            ^^^^^^^^^^^^^^^^^^^^
18
19 error: attribute must be of the form `#[feature(name1, name1, ...)]`
20   --> $DIR/gated-bad-feature.rs:9:1
21    |
22 LL | #![feature]
23    | ^^^^^^^^^^^
24
25 error: attribute must be of the form `#[feature(name1, name1, ...)]`
26   --> $DIR/gated-bad-feature.rs:10:1
27    |
28 LL | #![feature = "foo"]
29    | ^^^^^^^^^^^^^^^^^^^
30
31 error: aborting due to 5 previous errors
32
33 For more information about this error, try `rustc --explain E0557`.