]> git.proxmox.com Git - rustc.git/blame - src/test/ui/asm-out-assign-imm.stderr
New upstream version 1.28.0~beta.14+dfsg1
[rustc.git] / src / test / ui / asm-out-assign-imm.stderr
CommitLineData
ff7c6d11 1error[E0384]: cannot assign twice to immutable variable `x`
94b46f34 2 --> $DIR/asm-out-assign-imm.rs:33:9
ff7c6d11 3 |
0531ce1d 4LL | x = 1;
ff7c6d11
XL
5 | ----- first assignment to `x`
6...
0531ce1d 7LL | asm!("mov $1, $0" : "=r"(x) : "r"(5));
ff7c6d11
XL
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign twice to immutable variable
9
10error: aborting due to previous error
11
0531ce1d 12For more information about this error, try `rustc --explain E0384`.