blob: d45b3e57038cd15e3094a70736ee1f6af718f692 [file] [log] [blame]
error[E0662]: input operand constraint contains '='
--> $DIR/asm-in-bad-modifier.rs:23:39
|
LL | asm!("mov $1, $0" : "=r"(x) : "=r"(5));
| ^^^^
error[E0663]: input operand constraint contains '+'
--> $DIR/asm-in-bad-modifier.rs:24:39
|
LL | asm!("mov $1, $0" : "=r"(y) : "+r"(5));
| ^^^^
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0662, E0663.
For more information about an error, try `rustc --explain E0662`.