blob: 03e808fe7a6770f4ff000b8e5d883702d5680968 [file] [log] [blame]
//@ edition:2021
//@ run-rustfix
#![allow(dead_code)]
async fn a() {}
async fn foo() -> Result<(), i32> {
a().await;
Ok(()) //~ ERROR mismatched types
}
fn main() {}