3 #![feature(futures_api)]
8 async fn foo() {} //~ ERROR async fn is unstable
12 async fn foo(); //~ ERROR trait fns cannot be declared `async`
13 //~^ ERROR async fn is unstable
16 async fn foo() {} //~ ERROR async fn is unstable
19 let _ = async {}; //~ ERROR async blocks are unstable
20 let _ = async || {}; //~ ERROR async closures are unstable