]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/bench.rs
Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup
[rust.git] / src / test / ui / feature-gates / bench.rs
1 // edition:2018
2
3 #[bench] //~ ERROR use of unstable library feature 'test'
4          //~| WARN this was previously accepted
5 fn bench() {}
6
7 use bench as _; //~ ERROR use of unstable library feature 'test'
8                 //~| WARN this was previously accepted
9 fn main() {}