From cfe83bcb73b9e0cfd8a2d3151e4cab38327eabea Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Sun, 18 Jul 2021 11:42:47 +0200 Subject: Implement {{loop.cycle(…)}} similar to Jinja MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- testing/tests/ui/loop_cycle_wrong_argument_count.stderr | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testing/tests/ui/loop_cycle_wrong_argument_count.stderr (limited to 'testing/tests/ui/loop_cycle_wrong_argument_count.stderr') diff --git a/testing/tests/ui/loop_cycle_wrong_argument_count.stderr b/testing/tests/ui/loop_cycle_wrong_argument_count.stderr new file mode 100644 index 0000000..acf3bb1 --- /dev/null +++ b/testing/tests/ui/loop_cycle_wrong_argument_count.stderr @@ -0,0 +1,7 @@ +error: loop.cycle(…) expects exactly one argument + --> $DIR/loop_cycle_wrong_argument_count.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) -- cgit