summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/binder/late-bound-in-body.rs
blob: bb5c7552fdaa8530d002e15c560b71f102538218 (plain)
1
2
3
4
5
6
7
8
9
// check-pass

#![feature(closure_lifetime_binder)]

fn main() {
    let _ = for<'a> || -> () {
        let _: &'a bool = &true;
    };
}