aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/lit_on_assignment_lhs.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ui/lit_on_assignment_lhs.stderr')
-rw-r--r--testing/tests/ui/lit_on_assignment_lhs.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tests/ui/lit_on_assignment_lhs.stderr b/testing/tests/ui/lit_on_assignment_lhs.stderr
new file mode 100644
index 0000000..fa488cb
--- /dev/null
+++ b/testing/tests/ui/lit_on_assignment_lhs.stderr
@@ -0,0 +1,7 @@
+error: proc-macro derive panicked
+ --> $DIR/lit_on_assignment_lhs.rs:3:10
+ |
+3 | #[derive(Template)]
+ | ^^^^^^^^
+ |
+ = help: message: Cannot have literals on the left-hand-side of an assignment.