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
484 B14 linesraw
1error[E0384]: cannot assign twice to immutable variable `x`
2  --> $DIR/asm-out-assign-imm.rs:24:34
3   |
4LL |     let x: isize;
5   |         - help: make this binding mutable: `mut x`
6LL |     x = 1;
7   |     ----- first assignment to `x`
8...
9LL |         asm!("mov $1, $0" : "=r"(x) : "r"(5));
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`.