fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0384]: cannot assign twice to immutable variable `b` 2 --> $DIR/liveness-assign-imm-local-with-drop.rs:6:5 3 | 4LL | let b = Box::new(1); 5 | - 6 | | 7 | first assignment to `b` 8 | help: make this binding mutable: `mut b` 9... 10LL | b = Box::new(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`.