about summary refs log tree commit diff
path: root/tests/ui/issues/issue-3991.rs
blob: e69c693ed49ea8e3b228d1281ee8e327c3912b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ check-pass
#![allow(dead_code)]


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

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

pub fn main() {}