1 2 3 4 5 6 7
fn main() { let mut my_var = false; let callback = || { &mut my_var; }; callback(); //~ ERROR E0596 }