about summary refs log tree commit diff
path: root/tests/ui/issues/issue-3991.rs
blob: 97bddb9250a06b9d3935b567bacbd9aa8ae52c22 (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() {}