]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/bench.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[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() {}