]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26093.stderr
Rollup merge of #89558 - lcnr:query-stable-lint, r=estebank
[rust.git] / src / test / ui / issues / issue-26093.stderr
1 error[E0070]: invalid left-hand side of assignment
2   --> $DIR/issue-26093.rs:3:16
3    |
4 LL |         $thing = 42;
5    |                ^
6 ...
7 LL |     not_a_place!(99);
8    |     ----------------
9    |     |            |
10    |     |            cannot assign to this expression
11    |     in this macro invocation
12    |
13    = note: this error originates in the macro `not_a_place` (in Nightly builds, run with -Z macro-backtrace for more info)
14
15 error[E0067]: invalid left-hand side of assignment
16   --> $DIR/issue-26093.rs:5:16
17    |
18 LL |         $thing += 42;
19    |                ^^
20 ...
21 LL |     not_a_place!(99);
22    |     ----------------
23    |     |            |
24    |     |            cannot assign to this expression
25    |     in this macro invocation
26    |
27    = note: this error originates in the macro `not_a_place` (in Nightly builds, run with -Z macro-backtrace for more info)
28
29 error: aborting due to 2 previous errors
30
31 Some errors have detailed explanations: E0067, E0070.
32 For more information about an error, try `rustc --explain E0067`.