summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-40510-4.rs
blob: 48bb8d36f55524d64e154700f244311e014c27c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// check-pass
#![allow(unused)]

fn f() {
    let x: Vec<()> = Vec::new();

    || {
        || {
            x.len()
        }
    };
}


fn main() {}