]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | // edition:2021 |
2 | #![feature(closure_lifetime_binder)] | |
3 | #![feature(async_closure)] | |
4 | fn main() { | |
5 | for<'a> async || (); | |
6 | //~^ ERROR `for<...>` binders on `async` closures are not currently supported | |
7 | //~^^ ERROR implicit types in closure signatures are forbidden when `for<...>` is present | |
8 | } |