summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/binder/nested-closures.rs
blob: b3c36e7eebb7aa37ccd8963a501be6a961d2a5e1 (plain)
1
2
3
4
5
6
7
// check-pass

#![feature(closure_lifetime_binder)]

fn main() {
    for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
}