summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T13909.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T13909.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T13909.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T13909.stderr b/testsuite/tests/typecheck/should_fail/T13909.stderr
new file mode 100644
index 0000000000..d70221c3fd
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T13909.stderr
@@ -0,0 +1,11 @@
+
+T13909.hs:11:10: error:
+ • Illegal type synonym family application ‘GHC.Types.Any’ in instance:
+ HasName Hm
+ Use -fprint-explicit-kinds to see the kind arguments
+ • In the instance declaration for ‘HasName Hm’
+
+T13909.hs:11:18: error:
+ • Expected kind ‘k0’, but ‘Hm’ has kind ‘forall k -> k -> *’
+ • In the first argument of ‘HasName’, namely ‘Hm’
+ In the instance declaration for ‘HasName Hm’