summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/suppressed-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/suppressed-error.stderr')
-rw-r--r--tests/ui/typeck/suppressed-error.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/typeck/suppressed-error.stderr b/tests/ui/typeck/suppressed-error.stderr
new file mode 100644
index 000000000..11d70f8a4
--- /dev/null
+++ b/tests/ui/typeck/suppressed-error.stderr
@@ -0,0 +1,14 @@
+error[E0308]: mismatched types
+ --> $DIR/suppressed-error.rs:2:9
+ |
+LL | let (x, y) = ();
+ | ^^^^^^ -- this expression has type `()`
+ | |
+ | expected `()`, found `(_, _)`
+ |
+ = note: expected unit type `()`
+ found tuple `(_, _)`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0308`.