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