2013-10-29 01:27:12 +09:00
|
|
|
fn main() {
|
2019-12-22 18:42:15 +00:00
|
|
|
1 = 2; //~ ERROR invalid left-hand side of assignment
|
|
|
|
1 += 2; //~ ERROR invalid left-hand side of assignment
|
2021-11-03 02:50:57 -04:00
|
|
|
(1, 2) = (3, 4);
|
|
|
|
//~^ ERROR invalid left-hand side of assignment
|
2020-11-04 16:32:52 +00:00
|
|
|
//~| ERROR invalid left-hand side of assignment
|
2013-10-29 01:27:12 +09:00
|
|
|
}
|