diff options
author | René Kijewski <rene.kijewski@fu-berlin.de> | 2023-09-28 17:09:29 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-09-28 17:28:26 +0200 |
commit | 238e4bbad7712ccc3a3ea4a5b09c63bd147c692e (patch) | |
tree | 6cf335c2365a99115d931e4657576d902526bdb1 /testing/tests/ui/excessive_nesting.stderr | |
parent | 36f4442978674a79aaebefcd4f04c7bfe6fe54c4 (diff) | |
download | askama-238e4bbad7712ccc3a3ea4a5b09c63bd147c692e.tar.gz askama-238e4bbad7712ccc3a3ea4a5b09c63bd147c692e.tar.bz2 askama-238e4bbad7712ccc3a3ea4a5b09c63bd147c692e.zip |
Limit nesting in parser nodes, too
Diffstat (limited to '')
-rw-r--r-- | testing/tests/ui/excessive_nesting.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ui/excessive_nesting.stderr b/testing/tests/ui/excessive_nesting.stderr new file mode 100644 index 0000000..d83cd3b --- /dev/null +++ b/testing/tests/ui/excessive_nesting.stderr @@ -0,0 +1,8 @@ +error: problems parsing template source at row 8, column 36 near: + "{%if 1%}{%if 1%}{%if 1%}{%if 1%}{%if 1%}"... + --> tests/ui/excessive_nesting.rs:3:10 + | +3 | #[derive(Template)] + | ^^^^^^^^ + | + = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) |