summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/unreachable-async-fn.rs
blob: eedd877fe7841f71bcb17fe0291c9318a7cd3a08 (plain)
1
2
3
4
5
6
7
8
9
// check-pass
// edition:2018

#[allow(dead_code)]
async fn foo () { // unreachable lint doesn't trigger
   unimplemented!()
}

fn main() {}