summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail015.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/drvfail015.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/drvfail015.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/drvfail015.stderr b/testsuite/tests/deriving/should_fail/drvfail015.stderr
new file mode 100644
index 0000000000..a7d8ac6cf1
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/drvfail015.stderr
@@ -0,0 +1,13 @@
+
+drvfail015.hs:10:19:
+ Illegal instance declaration for `Eq T'
+ (All instance types must be of the form (T t1 ... tn)
+ where T is not a synonym.
+ Use -XTypeSynonymInstances if you want to disable this.)
+ In the stand-alone deriving instance for `Eq T'
+
+drvfail015.hs:13:1:
+ Can't make a derived instance of `Eq Handle':
+ The data constructors of `Handle' are not all in scope
+ so you cannot derive an instance for it
+ In the stand-alone deriving instance for `Eq Handle'