fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
466 B14 linesraw
1error[E0384]: cannot assign twice to immutable variable `a`
2  --> $DIR/tainted-promoteds.rs:7:5
3   |
4LL |     let a = 0;
5   |         -
6   |         |
7   |         first assignment to `a`
8   |         help: consider making this binding mutable: `mut a`
9LL |     a = &0 * &1 * &2 * &3;
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`.