1 error[E0384]: cannot assign twice to immutable variable `x` (Ast)
2 --> $DIR/liveness-assign-imm-local-notes.rs:23:9
5 | ----- first assignment to `x`
6 LL | x = 3; //~ ERROR (Ast) [E0384]
7 | ^^^^^ cannot assign twice to immutable variable
9 error[E0384]: cannot assign twice to immutable variable `x` (Ast)
10 --> $DIR/liveness-assign-imm-local-notes.rs:35:13
13 | ----- first assignment to `x`
14 LL | x = 3; //~ ERROR (Ast) [E0384]
15 | ^^^^^ cannot assign twice to immutable variable
17 error[E0384]: cannot assign twice to immutable variable `x` (Ast)
18 --> $DIR/liveness-assign-imm-local-notes.rs:45:13
20 LL | x = 1; //~ ERROR (Ast) [E0384]
21 | ^^^^^ cannot assign twice to immutable variable
23 error[E0384]: cannot assign twice to immutable variable `x` (Ast)
24 --> $DIR/liveness-assign-imm-local-notes.rs:48:13
26 LL | x = 1; //~ ERROR (Ast) [E0384]
27 | ----- first assignment to `x`
29 LL | x = 2; //~ ERROR (Ast) [E0384]
30 | ^^^^^ cannot assign twice to immutable variable
32 error[E0384]: cannot assign twice to immutable variable `x` (Mir)
33 --> $DIR/liveness-assign-imm-local-notes.rs:23:9
36 | - help: make this binding mutable: `mut x`
39 | ----- first assignment to `x`
40 LL | x = 3; //~ ERROR (Ast) [E0384]
41 | ^^^^^ cannot assign twice to immutable variable
43 error[E0384]: cannot assign twice to immutable variable `x` (Mir)
44 --> $DIR/liveness-assign-imm-local-notes.rs:35:13
47 | - help: make this binding mutable: `mut x`
50 | ----- first assignment to `x`
51 LL | x = 3; //~ ERROR (Ast) [E0384]
52 | ^^^^^ cannot assign twice to immutable variable
54 error[E0384]: cannot assign twice to immutable variable `x` (Mir)
55 --> $DIR/liveness-assign-imm-local-notes.rs:45:13
58 | - help: make this binding mutable: `mut x`
60 LL | x = 1; //~ ERROR (Ast) [E0384]
61 | ^^^^^ cannot assign twice to immutable variable
63 error[E0384]: cannot assign twice to immutable variable `x` (Mir)
64 --> $DIR/liveness-assign-imm-local-notes.rs:48:13
67 | - help: make this binding mutable: `mut x`
69 LL | x = 1; //~ ERROR (Ast) [E0384]
70 | ----- first assignment to `x`
72 LL | x = 2; //~ ERROR (Ast) [E0384]
73 | ^^^^^ cannot assign twice to immutable variable
75 error: aborting due to 8 previous errors
77 For more information about this error, try `rustc --explain E0384`.