fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
778 B28 linesraw
1error[E0070]: invalid left-hand side of assignment
2  --> $DIR/issue-26093.rs:3:16
3   |
4LL |         $thing = 42;
5   |                ^
6...
7LL |     not_a_place!(99);
8   |     -----------------
9   |     |            |
10   |     |            cannot assign to this expression
11   |     in this macro invocation
12
13error[E0067]: invalid left-hand side of assignment
14  --> $DIR/issue-26093.rs:5:16
15   |
16LL |         $thing += 42;
17   |                ^^
18...
19LL |     not_a_place!(99);
20   |     -----------------
21   |     |            |
22   |     |            cannot assign to this expression
23   |     in this macro invocation
24
25error: aborting due to 2 previous errors
26
27Some errors have detailed explanations: E0067, E0070.
28For more information about an error, try `rustc --explain E0067`.