From 107bdfdd7658919691948f629adf2254cd6aa367 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Mon, 31 Jul 2023 20:54:47 +0200 Subject: Fix parsing calls This change: * adds a cut when the leading `(` was encountered, and * fixed the interaction between call expressions and boolean OR. --- testing/tests/ui/loop_cycle_empty.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/tests/ui/loop_cycle_empty.stderr b/testing/tests/ui/loop_cycle_empty.stderr index 13beb9a..4fc35bb 100644 --- a/testing/tests/ui/loop_cycle_empty.stderr +++ b/testing/tests/ui/loop_cycle_empty.stderr @@ -1,5 +1,5 @@ -error: problems parsing template source at row 1, column 34 near: - "([]) }}{{ v }},{% endfor %}" +error: problems parsing template source at row 1, column 35 near: + "[]) }}{{ v }},{% endfor %}" --> tests/ui/loop_cycle_empty.rs:6:10 | 6 | #[derive(Template)] -- cgit