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