unplugged-system/external/rust/crates/no-panic/tests/ui/async-fn.rs

11 lines
100 B
Rust

use no_panic::no_panic;
#[no_panic]
async fn f() {
g().await;
}
async fn g() {}
fn main() {}