summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-26093.stderr
blob: 1a08d0fef4118d8d4151d3ee3749e4196ff5b2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
error[E0070]: invalid left-hand side of assignment
  --> $DIR/issue-26093.rs:3:16
   |
LL |         $thing = 42;
   |                ^
...
LL |     not_a_place!(99);
   |     ----------------
   |     |            |
   |     |            cannot assign to this expression
   |     in this macro invocation
   |
   = note: this error originates in the macro `not_a_place` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0067]: invalid left-hand side of assignment
  --> $DIR/issue-26093.rs:5:16
   |
LL |         $thing += 42;
   |                ^^
...
LL |     not_a_place!(99);
   |     ----------------
   |     |            |
   |     |            cannot assign to this expression
   |     in this macro invocation
   |
   = note: this error originates in the macro `not_a_place` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0067, E0070.
For more information about an error, try `rustc --explain E0067`.