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

// pretty-expanded FIXME #23616

struct HasNested {
    nest: Vec<Vec<isize> > ,
}

impl HasNested {
    fn method_push_local(&mut self) {
        self.nest[0].push(0);
    }
}

pub fn main() {}