]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3991.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-3991.rs
1 // check-pass
2 #![allow(dead_code)]
3
4 // pretty-expanded FIXME #23616
5
6 struct HasNested {
7     nest: Vec<Vec<isize> > ,
8 }
9
10 impl HasNested {
11     fn method_push_local(&mut self) {
12         self.nest[0].push(0);
13     }
14 }
15
16 pub fn main() {}