diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-01-31 08:38:44 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-01-31 12:02:43 +0100 |
commit | cd744f0aa705882f0e4fd0466e24cdbccf9fc28f (patch) | |
tree | 352b3e6e30d2713e4eea0447e4edc236d05dd0fb /testing/tests | |
parent | 91874702f0f3581549c129369a8bc0783006b5fa (diff) | |
download | askama-cd744f0aa705882f0e4fd0466e24cdbccf9fc28f.tar.gz askama-cd744f0aa705882f0e4fd0466e24cdbccf9fc28f.tar.bz2 askama-cd744f0aa705882f0e4fd0466e24cdbccf9fc28f.zip |
Make is_shadowing_variable() failable
Diffstat (limited to '')
-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) |