rust/tests/ui/closures/binder/async-closure-with-binder.rs

10 lines
143 B
Rust

//@ edition:2021
//@ check-pass
#![feature(closure_lifetime_binder)]
#![feature(async_closure)]
fn main() {
for<'a> async || -> () {};
}