2023-10-27 12:19:32 -05:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2023-10-27 12:27:21 -05:00
|
|
|
--> $DIR/false-binop-caused-by-missing-semi.rs:7:8
|
2023-10-27 12:19:32 -05:00
|
|
|
|
|
|
|
|
LL | / foo()
|
|
|
|
LL | | *x = 0;
|
|
|
|
| | - ^
|
|
|
|
| |______|
|
|
|
|
| cannot assign to this expression
|
|
|
|
|
|
|
|
|
help: you might have meant to write a semicolon here
|
|
|
|
|
|
|
|
|
LL | foo();
|
|
|
|
| +
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-10-27 12:19:32 -05:00
|
|
|
|
2023-10-27 12:27:21 -05:00
|
|
|
For more information about this error, try `rustc --explain E0070`.
|