rustc/tests/ui/lint/unreachable-async-fn.rs
2024-06-21 09:39:33 +02:00

10 lines
143 B
Rust

//@ check-pass
//@ edition:2018
#[allow(dead_code)]
async fn foo () { // unreachable lint doesn't trigger
unimplemented!()
}
fn main() {}