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