rust/tests/ui/lint/unreachable-async-fn.rs
2024-02-16 20:02:50 +00:00

10 lines
143 B
Rust

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