Files
rust/src/test/ui/issues/issue-3991.rs

17 lines
231 B
Rust
Raw Normal View History

// build-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
struct HasNested {
nest: Vec<Vec<isize> > ,
}
impl HasNested {
2013-09-02 23:30:00 +10:00
fn method_push_local(&mut self) {
2014-11-06 12:25:16 -05:00
self.nest[0].push(0);
}
}
pub fn main() {}