blob: 84dd1b9f814c2c60b7333988746e421083161fe9 [file] [log] [blame]
// edition:2015
#![feature(futures_api)]
async fn foo() {} //~ ERROR async fn is unstable
fn main() {
let _ = async {}; //~ ERROR cannot find struct, variant or union type `async`
let _ = async || { true }; //~ ERROR cannot find value `async` in this scope
}