mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
9 lines
176 B
Rust
9 lines
176 B
Rust
// edition:2018
|
|
|
|
#![feature(async_closure)]
|
|
|
|
fn main() {
|
|
let _ = async |x: u8| {};
|
|
//~^ ERROR `async` non-`move` closures with parameters are not currently supported
|
|
}
|