1 struct S { x: u8, y: u8 }
7 (a, b) += (3, 4); //~ ERROR invalid left-hand side of assignment
8 //~| ERROR binary assignment operation `+=` cannot be applied
11 [a, b] += [3, 4]; //~ ERROR invalid left-hand side of assignment
12 //~| ERROR binary assignment operation `+=` cannot be applied
14 let s = S { x: 3, y: 4 };
17 S { x: a, y: b } += s; //~ ERROR invalid left-hand side of assignment
18 //~| ERROR binary assignment operation `+=` cannot be applied
20 S { x: a, ..s } = S { x: 3, y: 4 };
21 //~^ ERROR functional record updates are not allowed in destructuring assignments