Improve error messages around kind mismatches.
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail094.stderr
index c5dcc17..d3f5e76 100644 (file)
@@ -1,3 +1,3 @@
 
 tcfail094.hs:7:14:
-    Illegal literal in type (use -XDataKinds to enable): 1
+    Illegal type: ‘1’ Perhaps you intended to use DataKinds