fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
433 B14 linesraw
1error[E0384]: cannot assign twice to immutable variable `x`
2  --> $DIR/command-line-diagnostics.rs:6:5
3   |
4LL |     let x = 42;
5   |         -
6   |         |
7   |         first assignment to `x`
8   |         help: make this binding mutable: `mut x`
9LL |     x = 43;
10   |     ^^^^^^ cannot assign twice to immutable variable
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0384`.