rust/tests/ui/lint/unreachable-async-fn.rs
2023-01-11 09:32:08 +00:00

10 lines
141 B
Rust

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