2019-12-22 18:42:15 +00:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2019-12-22 21:08:53 +00:00
|
|
|
--> $DIR/bad-expr-lhs.rs:2:7
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 1 = 2;
|
2019-12-22 21:08:53 +00:00
|
|
|
| - ^
|
2019-12-22 18:42:15 +00:00
|
|
|
| |
|
|
|
|
| cannot assign to this expression
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-12-22 18:42:15 +00:00
|
|
|
error[E0067]: invalid left-hand side of assignment
|
|
|
|
--> $DIR/bad-expr-lhs.rs:3:7
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | 1 += 2;
|
2019-12-22 18:42:15 +00:00
|
|
|
| - ^^
|
|
|
|
| |
|
|
|
|
| cannot assign to this expression
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-12-22 18:42:15 +00:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2019-12-22 21:08:53 +00:00
|
|
|
--> $DIR/bad-expr-lhs.rs:4:12
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | (1, 2) = (3, 4);
|
2020-11-04 16:32:52 +00:00
|
|
|
| - ^
|
|
|
|
| |
|
|
|
|
| cannot assign to this expression
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-12-22 18:42:15 +00:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2020-11-04 16:32:52 +00:00
|
|
|
--> $DIR/bad-expr-lhs.rs:4:12
|
2019-12-22 20:14:08 +00:00
|
|
|
|
|
2020-11-04 16:32:52 +00:00
|
|
|
LL | (1, 2) = (3, 4);
|
|
|
|
| - ^
|
|
|
|
| |
|
|
|
|
| cannot assign to this expression
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2019-12-22 18:42:15 +00:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2021-11-03 06:50:57 +00:00
|
|
|
--> $DIR/bad-expr-lhs.rs:8:10
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | None = Some(3);
|
2019-12-22 21:08:53 +00:00
|
|
|
| ---- ^
|
2019-12-22 18:42:15 +00:00
|
|
|
| |
|
|
|
|
| cannot assign to this expression
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2021-11-03 06:50:57 +00:00
|
|
|
error: aborting due to 5 previous errors
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2021-11-03 06:50:57 +00:00
|
|
|
Some errors have detailed explanations: E0067, E0070.
|
2018-08-08 12:28:26 +00:00
|
|
|
For more information about an error, try `rustc --explain E0067`.
|