rust/tests/ui/async-await/issues/issue-102206.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
118 B
Rust
Raw Normal View History

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