11error[E0070]: invalid left-hand side of assignment
2- --> $DIR/destructuring-assignment .rs:6:12
2+ --> $DIR/note-unsupported .rs:6:12
33 |
44LL | (a, b) = (3, 4);
55 | ------ ^
66 | |
77 | cannot assign to this expression
88 |
9- = note: destructuring assignments are not yet supported
9+ = note: destructuring assignments are not currently supported
1010 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
1111
1212error[E0368]: binary assignment operation `+=` cannot be applied to type `({integer}, {integer})`
13- --> $DIR/destructuring-assignment .rs:7:5
13+ --> $DIR/note-unsupported .rs:7:5
1414 |
1515LL | (a, b) += (3, 4);
1616 | ------^^^^^^^^^^
@@ -20,29 +20,29 @@ LL | (a, b) += (3, 4);
2020 = note: an implementation of `std::ops::AddAssign` might be missing for `({integer}, {integer})`
2121
2222error[E0067]: invalid left-hand side of assignment
23- --> $DIR/destructuring-assignment .rs:7:12
23+ --> $DIR/note-unsupported .rs:7:12
2424 |
2525LL | (a, b) += (3, 4);
2626 | ------ ^^
2727 | |
2828 | cannot assign to this expression
2929 |
30- = note: destructuring assignments are not yet supported
30+ = note: destructuring assignments are not currently supported
3131 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
3232
3333error[E0070]: invalid left-hand side of assignment
34- --> $DIR/destructuring-assignment .rs:10:12
34+ --> $DIR/note-unsupported .rs:10:12
3535 |
3636LL | [a, b] = [3, 4];
3737 | ------ ^
3838 | |
3939 | cannot assign to this expression
4040 |
41- = note: destructuring assignments are not yet supported
41+ = note: destructuring assignments are not currently supported
4242 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
4343
4444error[E0368]: binary assignment operation `+=` cannot be applied to type `[{integer}; 2]`
45- --> $DIR/destructuring-assignment .rs:11:5
45+ --> $DIR/note-unsupported .rs:11:5
4646 |
4747LL | [a, b] += [3, 4];
4848 | ------^^^^^^^^^^
@@ -52,29 +52,29 @@ LL | [a, b] += [3, 4];
5252 = note: an implementation of `std::ops::AddAssign` might be missing for `[{integer}; 2]`
5353
5454error[E0067]: invalid left-hand side of assignment
55- --> $DIR/destructuring-assignment .rs:11:12
55+ --> $DIR/note-unsupported .rs:11:12
5656 |
5757LL | [a, b] += [3, 4];
5858 | ------ ^^
5959 | |
6060 | cannot assign to this expression
6161 |
62- = note: destructuring assignments are not yet supported
62+ = note: destructuring assignments are not currently supported
6363 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
6464
6565error[E0070]: invalid left-hand side of assignment
66- --> $DIR/destructuring-assignment .rs:16:22
66+ --> $DIR/note-unsupported .rs:16:22
6767 |
6868LL | S { x: a, y: b } = s;
6969 | ---------------- ^
7070 | |
7171 | cannot assign to this expression
7272 |
73- = note: destructuring assignments are not yet supported
73+ = note: destructuring assignments are not currently supported
7474 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
7575
7676error[E0368]: binary assignment operation `+=` cannot be applied to type `S`
77- --> $DIR/destructuring-assignment .rs:17:5
77+ --> $DIR/note-unsupported .rs:17:5
7878 |
7979LL | S { x: a, y: b } += s;
8080 | ----------------^^^^^
@@ -84,36 +84,36 @@ LL | S { x: a, y: b } += s;
8484 = note: an implementation of `std::ops::AddAssign` might be missing for `S`
8585
8686error[E0067]: invalid left-hand side of assignment
87- --> $DIR/destructuring-assignment .rs:17:22
87+ --> $DIR/note-unsupported .rs:17:22
8888 |
8989LL | S { x: a, y: b } += s;
9090 | ---------------- ^^
9191 | |
9292 | cannot assign to this expression
9393 |
94- = note: destructuring assignments are not yet supported
94+ = note: destructuring assignments are not currently supported
9595 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
9696
9797error[E0070]: invalid left-hand side of assignment
98- --> $DIR/destructuring-assignment .rs:20:21
98+ --> $DIR/note-unsupported .rs:20:21
9999 |
100100LL | S { x: a, ..s } = S { x: 3, y: 4 };
101101 | --------------- ^
102102 | |
103103 | cannot assign to this expression
104104 |
105- = note: destructuring assignments are not yet supported
105+ = note: destructuring assignments are not currently supported
106106 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
107107
108108error[E0070]: invalid left-hand side of assignment
109- --> $DIR/destructuring-assignment .rs:24:17
109+ --> $DIR/note-unsupported .rs:24:17
110110 |
111111LL | ((a, b), c) = ((3, 4), 5);
112112 | ----------- ^
113113 | |
114114 | cannot assign to this expression
115115 |
116- = note: destructuring assignments are not yet supported
116+ = note: destructuring assignments are not currently supported
117117 = note: for more information, see https://github.com/rust-lang/rfcs/issues/372
118118
119119error: aborting due to 11 previous errors
0 commit comments