summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-2848.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/issues/issue-2848.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-2848.stderr b/src/test/ui/issues/issue-2848.stderr
new file mode 100644
index 000000000..71ed7d70b
--- /dev/null
+++ b/src/test/ui/issues/issue-2848.stderr
@@ -0,0 +1,11 @@
+error[E0408]: variable `beta` is not bound in all patterns
+ --> $DIR/issue-2848.rs:14:7
+ |
+LL | alpha | beta => {}
+ | ^^^^^ ---- variable not in all patterns
+ | |
+ | pattern doesn't bind `beta`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0408`.