1error[E0505]: cannot move out of `x` because it is borrowed 2 --> $DIR/augmented-assignments.rs:16:5 3 | 4LL | x 5 | - borrow of `x` occurs here 6... 7LL | x; 8 | ^ move out of `x` occurs here 9 10error[E0596]: cannot borrow `y` as mutable, as it is not declared as mutable 11 --> $DIR/augmented-assignments.rs:23:5 12 | 13LL | let y = Int(2); 14 | - help: consider changing this to be mutable: `mut y` 15... 16LL | y 17 | ^ cannot borrow as mutable 18 19error: aborting due to 2 previous errors 20 21Some errors have detailed explanations: E0505, E0596. 22For more information about an error, try `rustc --explain E0505`. 23