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

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

17 lines
231 B
Rust
Raw Normal View History

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