9 lines
117 B
Rust
9 lines
117 B
Rust
|
// edition:2021
|
||
|
|
||
|
async fn foo() {}
|
||
|
|
||
|
fn main() {
|
||
|
std::mem::size_of_val(foo());
|
||
|
//~^ ERROR: mismatched types
|
||
|
}
|