fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
560 B16 linesraw
1error[E0662]: input operand constraint contains '='
2  --> $DIR/asm-in-bad-modifier.rs:23:39
3   |
4LL |         asm!("mov $1, $0" : "=r"(x) : "=r"(5));
5   |                                       ^^^^
6
7error[E0663]: input operand constraint contains '+'
8  --> $DIR/asm-in-bad-modifier.rs:24:39
9   |
10LL |         asm!("mov $1, $0" : "=r"(y) : "+r"(5));
11   |                                       ^^^^
12
13error: aborting due to 2 previous errors
14
15Some errors have detailed explanations: E0662, E0663.
16For more information about an error, try `rustc --explain E0662`.