1 // check that we link regions in mutable place ops correctly - issue #41774
6 fn oh_no(&mut self, other: &Vec<Data>) { loop {} }
10 impl OhNo for [Data] {}
13 let mut v = vec![Data(0)];
14 v[0].oh_no(&v); //~ ERROR cannot borrow `v` as immutable because
15 (*v).oh_no(&v); //~ ERROR cannot borrow `v` as immutable because