2022-06-02 11:15:05 -05:00
|
|
|
// edition:2021
|
|
|
|
#![feature(closure_lifetime_binder)]
|
|
|
|
#![feature(async_closure)]
|
|
|
|
fn main() {
|
|
|
|
for<'a> async || ();
|
|
|
|
//~^ ERROR `for<...>` binders on `async` closures are not currently supported
|
2022-07-12 04:34:24 -05:00
|
|
|
//~^^ ERROR implicit types in closure signatures are forbidden when `for<...>` is present
|
2022-06-02 11:15:05 -05:00
|
|
|
}
|