summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/match-tag-nullary.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/match/match-tag-nullary.stderr')
-rw-r--r--tests/ui/match/match-tag-nullary.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/match/match-tag-nullary.stderr b/tests/ui/match/match-tag-nullary.stderr
index a6add31d1..aac873c76 100644
--- a/tests/ui/match/match-tag-nullary.stderr
+++ b/tests/ui/match/match-tag-nullary.stderr
@@ -5,7 +5,7 @@ LL | enum B { B }
| - unit variant defined here
LL |
LL | fn main() { let x: A = A::A; match x { B::B => { } } }
- | - ^^^^ expected enum `A`, found enum `B`
+ | - ^^^^ expected `A`, found `B`
| |
| this expression has type `A`