fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

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