mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +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
|
|
}
|