Files
rust/tests/ui/issues/issue-3991.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
200 B
Rust
Raw Normal View History

2019-11-06 00:00:00 +00:00
//@ check-pass
#![allow(dead_code)]
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() {}