askama/testing/tests/ui/macro-recursion.stderr

62 lines
2.5 KiB
Plaintext

error: Found recursion in macro calls:
--> Direct.html:3:11
"call one %}{% endcall %}\n "
--> Direct.html:2:26
"call one %}{% endcall %}{% endmacro %}\n {% call one %}{% endcall %}\n "
--> tests/ui/macro-recursion.rs:5:14
|
5 | source = "
| ______________^
6 | | {% macro one %}{% call one %}{% endcall %}{% endmacro %}
7 | | {% call one %}{% endcall %}
8 | | ",
| |_____^
error: Found recursion in macro calls:
--> Indirect.html:7:11
"call one %}{% endcall %}\n "
--> Indirect.html:2:26
"call two %}{% endcall %}{% endmacro %}\n {% macro two %}{% call three %}{%"...
--> Indirect.html:3:26
"call three %}{% endcall %}{% endmacro %}\n {% macro three %}{% call four %"...
--> Indirect.html:4:28
"call four %}{% endcall %}{% endmacro %}\n {% macro four %}{% call five %}{"...
--> Indirect.html:5:27
"call five %}{% endcall %}{% endmacro %}\n {% macro five %}{% call one %}{%"...
--> Indirect.html:6:27
"call one %}{% endcall %}{% endmacro %}\n {% call one %}{% endcall %}\n "
--> tests/ui/macro-recursion.rs:15:14
|
15 | source = "
| ______________^
16 | | {% macro one %}{% call two %}{% endcall %}{% endmacro %}
17 | | {% macro two %}{% call three %}{% endcall %}{% endmacro %}
18 | | {% macro three %}{% call four %}{% endcall %}{% endmacro %}
... |
21 | | {% call one %}{% endcall %}
22 | | ",
| |_____^
error: Found recursion in macro calls:
--> AcrossImports.html:6:11
"call some_macro %}{% endcall %}\n "
--> AcrossImports.html:4:15
"call next::some_macro %}{% endcall %}\n {% endmacro %}\n {% call som"...
--> testing/templates/macro-recursion-1.html:4:7
"call next::some_macro %}{% endcall %}\n{% endmacro %}"
--> testing/templates/macro-recursion-2.html:4:7
"call next::some_macro %}{% endcall %}\n{% endmacro %}"
--> testing/templates/macro-recursion-3.html:4:7
"call next::some_macro %}{% endcall %}\n{% endmacro %}"
--> tests/ui/macro-recursion.rs:29:14
|
29 | source = r#"
| ______________^
30 | | {% import "macro-recursion-1.html" as next %}
31 | | {% macro some_macro %}
32 | | {% call next::some_macro %}{% endcall %}
33 | | {% endmacro %}
34 | | {% call some_macro %}{% endcall %}
35 | | "#,
| |______^