summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/feature-async-closure.rs
blob: d07116b13a2b50676befb3b37dd2beb491723272 (plain)
1
2
3
4
5
6
7
8
// edition:2018
// gate-test-async_closure

fn f() {
    let _ = async || {}; //~ ERROR async closures are unstable
}

fn main() {}