diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-01-31 11:34:48 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-01-31 13:12:09 +0100 |
commit | 84fe3814033d1ec8669f253964cfa1145b4f53e9 (patch) | |
tree | 015f10bd3acf155f85e9335697dfcea01234942d /testing/tests/ui/loop_cycle_empty.stderr | |
parent | 0e9c9aeb9ddf8b86eeb86e1822f7285f65bc0b9d (diff) | |
download | askama-84fe3814033d1ec8669f253964cfa1145b4f53e9.tar.gz askama-84fe3814033d1ec8669f253964cfa1145b4f53e9.tar.bz2 askama-84fe3814033d1ec8669f253964cfa1145b4f53e9.zip |
Remove `panic!()` in `loop.cycle([])`
Diffstat (limited to '')
-rw-r--r-- | testing/tests/ui/loop_cycle_empty.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ui/loop_cycle_empty.stderr b/testing/tests/ui/loop_cycle_empty.stderr new file mode 100644 index 0000000..13beb9a --- /dev/null +++ b/testing/tests/ui/loop_cycle_empty.stderr @@ -0,0 +1,8 @@ +error: problems parsing template source at row 1, column 34 near: + "([]) }}{{ v }},{% endfor %}" + --> tests/ui/loop_cycle_empty.rs:6:10 + | +6 | #[derive(Template)] + | ^^^^^^^^ + | + = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) |