askama/testing/tests/ui/end-block.stderr
2024-09-10 02:40:12 +02:00

56 lines
1.6 KiB
Plaintext

error: expected `endif` to terminate `if` node, found nothing
--> <source attribute>:1:2
" if x %}{% if x %}{% endif %}"
--> tests/ui/end-block.rs:6:14
|
6 | source = "{% if x %}{% if x %}{% endif %}",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: expected `endif` to terminate `if` node, found nothing
--> <source attribute>:1:2
" if x %}"
--> tests/ui/end-block.rs:15:14
|
15 | source = "{% if x %}",
| ^^^^^^^^^^^^
error: expected `endmatch` to terminate `match` node, found nothing
--> <source attribute>:1:2
" match x %}"
--> tests/ui/end-block.rs:24:14
|
24 | source = "{% match x %}",
| ^^^^^^^^^^^^^^^
error: expected `endfor` to terminate `for` node, found nothing
--> <source attribute>:1:2
" for a in x %}"
--> tests/ui/end-block.rs:33:14
|
33 | source = "{% for a in x %}",
| ^^^^^^^^^^^^^^^^^^
error: expected `endmacro` to terminate `macro` node, found nothing
--> <source attribute>:1:2
" macro bla %}"
--> tests/ui/end-block.rs:42:14
|
42 | source = "{% macro bla %}",
| ^^^^^^^^^^^^^^^^^
error: expected `endfilter` to terminate `filter` node, found nothing
--> <source attribute>:1:2
" filter bla %}"
--> tests/ui/end-block.rs:49:14
|
49 | source = "{% filter bla %}",
| ^^^^^^^^^^^^^^^^^^
error: expected `endblock` to terminate `block` node, found nothing
--> <source attribute>:1:2
" block bla %}"
--> tests/ui/end-block.rs:56:14
|
56 | source = "{% block bla %}",
| ^^^^^^^^^^^^^^^^^