|
1 |
| -error: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable |
| 1 | +error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable |
2 | 2 | --> $DIR/bench.rs:3:3
|
3 | 3 | |
|
4 | 4 | LL | #[bench]
|
5 | 5 | | ^^^^^
|
6 | 6 | |
|
7 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
8 |
| - = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
9 |
| - = note: `#[deny(soft_unstable)]` on by default |
| 7 | + = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information |
| 8 | + = help: add `#![feature(test)]` to the crate attributes to enable |
| 9 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
10 | 10 |
|
11 |
| -error: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable |
12 |
| - --> $DIR/bench.rs:7:5 |
| 11 | +error[E0658]: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable |
| 12 | + --> $DIR/bench.rs:6:5 |
13 | 13 | |
|
14 | 14 | LL | use bench as _;
|
15 | 15 | | ^^^^^
|
16 | 16 | |
|
17 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
18 |
| - = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
| 17 | + = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information |
| 18 | + = help: add `#![feature(test)]` to the crate attributes to enable |
| 19 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
19 | 20 |
|
20 | 21 | error: aborting due to 2 previous errors
|
21 | 22 |
|
22 |
| -Future incompatibility report: Future breakage diagnostic: |
23 |
| -error: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable |
24 |
| - --> $DIR/bench.rs:3:3 |
25 |
| - | |
26 |
| -LL | #[bench] |
27 |
| - | ^^^^^ |
28 |
| - | |
29 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
30 |
| - = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
31 |
| - = note: `#[deny(soft_unstable)]` on by default |
32 |
| - |
33 |
| -Future breakage diagnostic: |
34 |
| -error: use of unstable library feature `test`: `bench` is a part of custom test frameworks which are unstable |
35 |
| - --> $DIR/bench.rs:7:5 |
36 |
| - | |
37 |
| -LL | use bench as _; |
38 |
| - | ^^^^^ |
39 |
| - | |
40 |
| - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
41 |
| - = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266> |
42 |
| - = note: `#[deny(soft_unstable)]` on by default |
43 |
| - |
| 23 | +For more information about this error, try `rustc --explain E0658`. |
0 commit comments