diff options
Diffstat (limited to 'testing/tests/ui/lit_on_assignment_lhs.rs')
-rw-r--r-- | testing/tests/ui/lit_on_assignment_lhs.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/tests/ui/lit_on_assignment_lhs.rs b/testing/tests/ui/lit_on_assignment_lhs.rs new file mode 100644 index 0000000..1793770 --- /dev/null +++ b/testing/tests/ui/lit_on_assignment_lhs.rs @@ -0,0 +1,11 @@ +use askama::Template; + +#[derive(Template)] +#[template( + source = "{%let 7=x%}", + ext = "txt" +)] +struct MyTemplate; + +fn main() { +} |