]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-fn-signature-verification-for-explicit-return-type.rs
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / test-fn-signature-verification-for-explicit-return-type.rs
1 // run-pass
2
3 #![feature(test)]
4
5 // compile-flags: --test
6 extern crate test;
7
8 #[bench]
9 pub fn bench_explicit_return_type(_: &mut ::test::Bencher) -> () {}
10
11 #[test]
12 pub fn test_explicit_return_type() -> () {}