2019-11-06 00:00:00 +00:00
|
|
|
//@ check-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2014-03-05 15:28:08 -08:00
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2013-03-21 15:00:29 -07:00
|
|
|
struct HasNested {
|
2015-03-25 17:06:52 -07:00
|
|
|
nest: Vec<Vec<isize> > ,
|
2013-03-21 15:00:29 -07:00
|
|
|
}
|
2013-05-03 19:25:04 -04:00
|
|
|
|
2013-03-21 15:00:29 -07:00
|
|
|
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);
|
2013-03-21 15:00:29 -07:00
|
|
|
}
|
|
|
|
|
}
|
2013-05-03 19:25:04 -04:00
|
|
|
|
2013-09-25 00:43:37 -07:00
|
|
|
pub fn main() {}
|