1 error[E0596]: cannot borrow immutable local variable `y` as mutable
2 --> $DIR/augmented-assignments.rs:21:5
5 | - help: make this binding mutable: `mut y`
8 | ^ cannot borrow mutably
10 error[E0382]: use of moved value: `x`
11 --> $DIR/augmented-assignments.rs:13:5
14 | ^ value used here after move
19 = note: move occurs because `x` has type `Int`, which does not implement the `Copy` trait
21 error: aborting due to 2 previous errors
23 Some errors occurred: E0382, E0596.
24 For more information about an error, try `rustc --explain E0382`.