summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0532.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0532.stderr')
-rw-r--r--tests/ui/error-codes/E0532.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0532.stderr b/tests/ui/error-codes/E0532.stderr
new file mode 100644
index 000000000..eeccadccc
--- /dev/null
+++ b/tests/ui/error-codes/E0532.stderr
@@ -0,0 +1,9 @@
+error[E0532]: expected tuple struct or tuple variant, found constant `StructConst1`
+ --> $DIR/E0532.rs:5:9
+ |
+LL | StructConst1(_) => { },
+ | ^^^^^^^^^^^^ not a tuple struct or tuple variant
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0532`.