summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T13780a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/dependent/should_fail/T13780a.stderr')
-rw-r--r--testsuite/tests/dependent/should_fail/T13780a.stderr9
1 files changed, 3 insertions, 6 deletions
diff --git a/testsuite/tests/dependent/should_fail/T13780a.stderr b/testsuite/tests/dependent/should_fail/T13780a.stderr
index 35ec45a24b..60edf6bc25 100644
--- a/testsuite/tests/dependent/should_fail/T13780a.stderr
+++ b/testsuite/tests/dependent/should_fail/T13780a.stderr
@@ -1,10 +1,7 @@
-T13780a.hs:9:40: error: [GHC-25897]
- • Couldn't match kind ‘a’ with ‘Bool’
- Expected kind ‘Foo a’, but ‘MkFoo’ has kind ‘Foo Bool’
- ‘a’ is a rigid type variable bound by
- a family instance declaration
- at T13780a.hs:9:20-31
+T13780a.hs:9:40: error: [GHC-88634]
+ • Data constructor ‘MkFoo’ cannot be used here
+ (it has an unpromotable context ‘a ~ Bool’)
• In the second argument of ‘(~)’, namely ‘MkFoo’
In the definition of data constructor ‘SMkFoo’
In the data instance declaration for ‘Sing’