]> git.lizzy.rs Git - rust.git/blob - tests/ui/closures/binder/async-closure-with-binder.rs
Auto merge of #105716 - chriswailes:ndk-update-redux, r=pietroalbini
[rust.git] / tests / ui / closures / binder / async-closure-with-binder.rs
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 }