aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/loop_cycle_empty.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ui/loop_cycle_empty.stderr')
-rw-r--r--testing/tests/ui/loop_cycle_empty.stderr7
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/tests/ui/loop_cycle_empty.stderr b/testing/tests/ui/loop_cycle_empty.stderr
index 4fc35bb..dd4f0dd 100644
--- a/testing/tests/ui/loop_cycle_empty.stderr
+++ b/testing/tests/ui/loop_cycle_empty.stderr
@@ -1,8 +1,7 @@
-error: problems parsing template source at row 1, column 35 near:
- "[]) }}{{ v }},{% endfor %}"
- --> tests/ui/loop_cycle_empty.rs:6:10
+error: loop.cycle(…) cannot use an empty array
+ --> tests/ui/loop_cycle_empty.rs:3:10
|
-6 | #[derive(Template)]
+3 | #[derive(Template)]
| ^^^^^^^^
|
= note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)