fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
499 B14 linesraw
1error[E0384]: cannot assign twice to immutable variable `x`
2  --> $DIR/llvm-asm-out-assign-imm.rs:24:39
3   |
4LL |     let x: isize;
5   |         - help: make this binding mutable: `mut x`
6LL |     x = 1;
7   |     ----- first assignment to `x`
8...
9LL |         llvm_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`.