summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issues/issue-102206.rs
blob: a3a2ebc58961b63a3af257da584607eef8c62199 (plain)
1
2
3
4
5
6
7
8
// edition:2021

async fn foo() {}

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