summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/pat-tuple-3.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/parser/pat-tuple-3.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/parser/pat-tuple-3.stderr b/src/test/ui/parser/pat-tuple-3.stderr
new file mode 100644
index 000000000..9ac0611c5
--- /dev/null
+++ b/src/test/ui/parser/pat-tuple-3.stderr
@@ -0,0 +1,10 @@
+error: `..` can only be used once per tuple pattern
+ --> $DIR/pat-tuple-3.rs:3:19
+ |
+LL | (.., pat, ..) => {}
+ | -- ^^ can only be used once per tuple pattern
+ | |
+ | previously used here
+
+error: aborting due to previous error
+