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

8 lines
124 B
Rust

//@ check-pass
#![feature(closure_lifetime_binder)]
fn main() {
for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
}