rust/tests/target/async_fn.rs
Seiichi Uchida 2244f326e6
Cargo update (#3559)
Update `rustc-ap-*` crates to 486.0.0.
2019-06-03 23:57:02 +09:00

21 lines
265 B
Rust

// rustfmt-edition: 2018
async fn bar() -> Result<(), ()> {
Ok(())
}
pub async fn baz() -> Result<(), ()> {
Ok(())
}
async unsafe fn foo() {
async move { Ok(()) }
}
async unsafe fn rust() {
async move {
// comment
Ok(())
}
}