1 2 3 4 5
fn foo(x: &mut u32) { let bar = || { foo(x); }; bar(); //~ ERROR cannot borrow } fn main() {}