summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/match-tag-unary.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/match/match-tag-unary.stderr')
-rw-r--r--tests/ui/match/match-tag-unary.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/match/match-tag-unary.stderr b/tests/ui/match/match-tag-unary.stderr
index 31f77bdff..25e8152d8 100644
--- a/tests/ui/match/match-tag-unary.stderr
+++ b/tests/ui/match/match-tag-unary.stderr
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
--> $DIR/match-tag-unary.rs:4:43
|
LL | fn main() { let x: A = A::A(0); match x { B::B(y) => { } } }
- | - ^^^^^^^ expected enum `A`, found enum `B`
+ | - ^^^^^^^ expected `A`, found `B`
| |
| this expression has type `A`