mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 05:21:14 +00:00
48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
error: unclosed block, you likely meant to apply whitespace control: "-%}"
|
|
--> <source attribute>:1:11
|
|
"%-}{% endif %}"
|
|
--> tests/ui/garbled-closing-blocks.rs:4:34
|
|
|
|
|
4 | #[template(ext = "txt", source = "{% if cond %-}{% endif %}")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unclosed block, you likely meant to apply whitespace control: "+%}"
|
|
--> <source attribute>:1:11
|
|
"%+}{% endif %}"
|
|
--> tests/ui/garbled-closing-blocks.rs:10:34
|
|
|
|
|
10 | #[template(ext = "txt", source = "{% if cond %+}{% endif %}")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unclosed block, you likely meant to apply whitespace control: "~%}"
|
|
--> <source attribute>:1:11
|
|
"%~}{% endif %}"
|
|
--> tests/ui/garbled-closing-blocks.rs:16:34
|
|
|
|
|
16 | #[template(ext = "txt", source = "{% if cond %~}{% endif %}")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unclosed block, you likely meant to apply whitespace control: "-%}"
|
|
--> <source attribute>:1:22
|
|
"%-}"
|
|
--> tests/ui/garbled-closing-blocks.rs:22:34
|
|
|
|
|
22 | #[template(ext = "txt", source = "{% if cond %}{% endif %-}")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unclosed block, you likely meant to apply whitespace control: "+%}"
|
|
--> <source attribute>:1:22
|
|
"%+}"
|
|
--> tests/ui/garbled-closing-blocks.rs:28:34
|
|
|
|
|
28 | #[template(ext = "txt", source = "{% if cond %}{% endif %+}")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unclosed block, you likely meant to apply whitespace control: "~%}"
|
|
--> <source attribute>:1:22
|
|
"%~}"
|
|
--> tests/ui/garbled-closing-blocks.rs:34:34
|
|
|
|
|
34 | #[template(ext = "txt", source = "{% if cond %}{% endif %~}")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|