mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
9 lines
295 B
Rust
9 lines
295 B
Rust
// edition:2021
|
|
#![feature(closure_lifetime_binder)]
|
|
#![feature(async_closure)]
|
|
fn main() {
|
|
for<'a> async || ();
|
|
//~^ ERROR `for<...>` binders on `async` closures are not currently supported
|
|
//~^^ ERROR implicit types in closure signatures are forbidden when `for<...>` is present
|
|
}
|