summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/if-in-in.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/parser/if-in-in.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/parser/if-in-in.stderr b/src/test/ui/parser/if-in-in.stderr
new file mode 100644
index 000000000..0e69bc4b2
--- /dev/null
+++ b/src/test/ui/parser/if-in-in.stderr
@@ -0,0 +1,10 @@
+error: expected iterable, found keyword `in`
+ --> $DIR/if-in-in.rs:4:14
+ |
+LL | for i in in 1..2 {
+ | ---^^
+ | |
+ | help: remove the duplicated `in`
+
+error: aborting due to previous error
+