summary refs log tree commit diff
path: root/src/test/ui/issues/issue-3991.rs
blob: bc63aae0b9eacf2bfda1b373f7e7d7f238c69c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// compile-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() {}