]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/unreachable-async-fn.rs
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
[rust.git] / src / test / ui / lint / unreachable-async-fn.rs
1 // check-pass
2 // edition:2018
3
4 #[allow(dead_code)]
5 async fn foo () { // unreachable lint doesn't trigger
6    unimplemented!()
7 }
8
9 fn main() {}