]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/bench.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[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() {}