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

#![feature(closure_lifetime_binder)]
#![feature(rustc_attrs)]

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