rust/tests/ui/closures/binder/async-closure-with-binder.rs
2024-02-16 20:02:50 +00:00

10 lines
143 B
Rust

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