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