summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/bench.stderr
blob: 5f0aaf9251fb29f29a9edc971457f3055bcbfe43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
  --> $DIR/bench.rs:3:3
   |
LL | #[bench]
   |   ^^^^^
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
   = note: `#[deny(soft_unstable)]` on by default

error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
  --> $DIR/bench.rs:7:5
   |
LL | use bench as _;
   |     ^^^^^
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>

error: aborting due to 2 previous errors