]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issues/issue-102206.rs
Rollup merge of #107061 - compiler-errors:new-solver-new-candidates-3, r=lcnr
[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 }