2019-12-22 18:42:15 +00:00
|
|
|
error[E0070]: invalid left-hand side of assignment
|
2019-12-22 21:08:53 +00:00
|
|
|
--> $DIR/issue-26093.rs:3:16
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | $thing = 42;
|
2019-12-22 21:08:53 +00:00
|
|
|
| ^
|
2017-12-10 19:47:55 +00:00
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | not_a_place!(99);
|
2021-10-14 18:28:28 +00:00
|
|
|
| ----------------
|
2019-12-22 18:42:15 +00:00
|
|
|
| | |
|
|
|
|
| | cannot assign to this expression
|
|
|
|
| in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `not_a_place` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2019-12-22 18:42:15 +00:00
|
|
|
error[E0067]: invalid left-hand side of assignment
|
|
|
|
--> $DIR/issue-26093.rs:5:16
|
|
|
|
|
|
|
|
|
LL | $thing += 42;
|
|
|
|
| ^^
|
|
|
|
...
|
|
|
|
LL | not_a_place!(99);
|
2021-10-14 18:28:28 +00:00
|
|
|
| ----------------
|
2019-12-22 18:42:15 +00:00
|
|
|
| | |
|
|
|
|
| | cannot assign to this expression
|
|
|
|
| in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `not_a_place` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-12-22 18:42:15 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2019-12-22 18:42:15 +00:00
|
|
|
Some errors have detailed explanations: E0067, E0070.
|
|
|
|
For more information about an error, try `rustc --explain E0067`.
|