summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-26093.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-26093.stderr')
-rw-r--r--tests/ui/issues/issue-26093.stderr32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-26093.stderr b/tests/ui/issues/issue-26093.stderr
new file mode 100644
index 000000000..1a08d0fef
--- /dev/null
+++ b/tests/ui/issues/issue-26093.stderr
@@ -0,0 +1,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`.