fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0384]: cannot assign twice to immutable variable `v` 2 --> $DIR/assign-imm-local-twice.rs:7:5 3 | 4LL | let v: isize; 5 | - help: make this binding mutable: `mut v` 6... 7LL | v = 1; 8 | ----- first assignment to `v` 9LL | println!("v={}", v); 10LL | v = 2; 11 | ^^^^^ cannot assign twice to immutable variable 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0384`.