summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0416.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0416.stderr')
-rw-r--r--src/test/ui/error-codes/E0416.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0416.stderr b/src/test/ui/error-codes/E0416.stderr
new file mode 100644
index 000000000..78acac5c6
--- /dev/null
+++ b/src/test/ui/error-codes/E0416.stderr
@@ -0,0 +1,9 @@
+error[E0416]: identifier `x` is bound more than once in the same pattern
+ --> $DIR/E0416.rs:3:13
+ |
+LL | (x, x) => {}
+ | ^ used in a pattern more than once
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0416`.