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