rustc/tests/ui/lint/unreachable-async-fn.rs
2023-08-02 10:33:26 +02:00

10 lines
141 B
Rust

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