]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/bench.rs
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
[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() {}