]> git.lizzy.rs Git - rust.git/blob - src/test/ui/no-args-non-move-async-closure.rs
Stabilize futures_api
[rust.git] / src / test / ui / no-args-non-move-async-closure.rs
1 // edition:2018
2
3 #![feature(async_await, await_macro)]
4
5 fn main() {
6     let _ = async |x: u8| {};
7     //~^ ERROR `async` non-`move` closures with arguments are not currently supported
8 }