]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issues/issue-102206.rs
Rollup merge of #107108 - sulami:issue-83968-doc-alias-typo-suggestions, r=compiler...
[rust.git] / tests / ui / async-await / issues / issue-102206.rs
1 // edition:2021
2
3 async fn foo() {}
4
5 fn main() {
6     std::mem::size_of_val(foo());
7     //~^ ERROR: mismatched types
8 }