rust/tests/ui/lint/unreachable-async-fn.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
141 B
Rust
Raw Normal View History

2019-09-21 18:34:16 -05:00
// check-pass
// edition:2018
2019-09-21 18:34:16 -05:00
#[allow(dead_code)]
async fn foo () { // unreachable lint doesn't trigger
unimplemented!()
}
fn main() {}