1 2 3 4 5 6 7 8
// edition:2021 async fn foo() {} fn main() { std::mem::size_of_val(foo()); //~^ ERROR: mismatched types }