1 error[E0384]: cannot assign twice to immutable variable `v`
2 --> $DIR/liveness-assign-imm-local-in-op-eq.rs:19:5
5 | - consider changing this to `mut v`
6 LL | //[mir]~^ NOTE consider changing this to `mut v`
7 LL | v = 2; //[ast]~ NOTE first assignment
8 | ----- first assignment to `v`
9 LL | //[mir]~^ NOTE first assignment
10 LL | v += 1; //[ast]~ ERROR cannot assign twice to immutable variable
11 | ^^^^^^ cannot assign twice to immutable variable
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0384`.