1 fn call_it<F>(f: F) where F: Fn() { f(); }
7 fn gen_mut(&mut self) {}
14 call_it(|| x.gen_mut());
15 //~^ ERROR cannot borrow `x` as mutable, as it is a captured variable in a `Fn` closure
16 //~| ERROR cannot borrow `x` as mutable, as it is a captured variable in a `Fn` closure