diff options
Diffstat (limited to 'testing/tests/ui/lit_on_assignment_lhs.stderr')
-rw-r--r-- | testing/tests/ui/lit_on_assignment_lhs.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/ui/lit_on_assignment_lhs.stderr b/testing/tests/ui/lit_on_assignment_lhs.stderr index fa488cb..53bfc81 100644 --- a/testing/tests/ui/lit_on_assignment_lhs.stderr +++ b/testing/tests/ui/lit_on_assignment_lhs.stderr @@ -1,7 +1,7 @@ -error: proc-macro derive panicked - --> $DIR/lit_on_assignment_lhs.rs:3:10 +error: literals are not allowed on the left-hand side of an assignment + --> tests/ui/lit_on_assignment_lhs.rs:3:10 | 3 | #[derive(Template)] | ^^^^^^^^ | - = help: message: Cannot have literals on the left-hand-side of an assignment. + = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) |