1 2 3 4 5 6 7 8
// edition:2018 #![feature(async_closure)] fn main() { let _ = async |x: u8| {}; //~^ ERROR `async` non-`move` closures with parameters are not currently supported }