error[E0384]: cannot assign twice to immutable variable `x` | |
--> $DIR/llvm-asm-out-assign-imm.rs:25:39 | |
| | |
LL | let x: isize; | |
| - help: make this binding mutable: `mut x` | |
LL | x = 1; | |
| ----- first assignment to `x` | |
... | |
LL | llvm_asm!("mov $1, $0" : "=r"(x) : "r"(5)); | |
| ^ cannot assign twice to immutable variable | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0384`. |