rust/tests/ui/async-await/issues/issue-102206.rs
2023-01-11 09:32:08 +00:00

9 lines
117 B
Rust

// edition:2021
async fn foo() {}
fn main() {
std::mem::size_of_val(foo());
//~^ ERROR: mismatched types
}