1 fn inside_closure(x: &mut i32) {
4 fn outside_closure_1(x: &mut i32) {
7 fn outside_closure_2(x: &i32) {
15 //~^ ERROR cannot borrow `*a` as mutable because previous closure requires unique access
18 //~^ ERROR cannot borrow `*a` as immutable because previous closure requires unique access