|
1 | 1 | error[E0556]: malformed `feature` attribute input
|
2 |
| - --> $DIR/gated-bad-feature.rs:2:25 |
| 2 | + --> $DIR/gated-bad-feature.rs:1:25 |
3 | 3 | |
|
4 | 4 | LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
5 | 5 | | ^^^^^^^^ help: expected just one word: `foo`
|
6 | 6 |
|
7 | 7 | error[E0556]: malformed `feature` attribute input
|
8 |
| - --> $DIR/gated-bad-feature.rs:2:35 |
| 8 | + --> $DIR/gated-bad-feature.rs:1:35 |
9 | 9 | |
|
10 | 10 | LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
11 | 11 | | ^^^^^^^^^^^ help: expected just one word: `foo`
|
12 | 12 |
|
13 | 13 | error[E0557]: feature has been removed
|
14 |
| - --> $DIR/gated-bad-feature.rs:9:12 |
| 14 | + --> $DIR/gated-bad-feature.rs:8:12 |
15 | 15 | |
|
16 | 16 | LL | #![feature(test_removed_feature)]
|
17 | 17 | | ^^^^^^^^^^^^^^^^^^^^ feature has been removed
|
18 | 18 | |
|
19 |
| - = note: removed in 1.0.0 (you are using $RUSTC_VERSION) |
| 19 | + = note: removed in 1.0.0 |
20 | 20 |
|
21 | 21 | error: malformed `feature` attribute input
|
22 |
| - --> $DIR/gated-bad-feature.rs:7:1 |
| 22 | + --> $DIR/gated-bad-feature.rs:6:1 |
23 | 23 | |
|
24 | 24 | LL | #![feature]
|
25 | 25 | | ^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
|
26 | 26 |
|
27 | 27 | error: malformed `feature` attribute input
|
28 |
| - --> $DIR/gated-bad-feature.rs:8:1 |
| 28 | + --> $DIR/gated-bad-feature.rs:7:1 |
29 | 29 | |
|
30 | 30 | LL | #![feature = "foo"]
|
31 | 31 | | ^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#![feature(name1, name2, ...)]`
|
32 | 32 |
|
33 | 33 | error[E0635]: unknown feature `foo_bar_baz`
|
34 |
| - --> $DIR/gated-bad-feature.rs:2:12 |
| 34 | + --> $DIR/gated-bad-feature.rs:1:12 |
35 | 35 | |
|
36 | 36 | LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
37 | 37 | | ^^^^^^^^^^^
|
38 | 38 |
|
39 | 39 | error[E0635]: unknown feature `foo`
|
40 |
| - --> $DIR/gated-bad-feature.rs:2:48 |
| 40 | + --> $DIR/gated-bad-feature.rs:1:48 |
41 | 41 | |
|
42 | 42 | LL | #![feature(foo_bar_baz, foo(bar), foo = "baz", foo)]
|
43 | 43 | | ^^^
|
|
0 commit comments