summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr38
1 files changed, 38 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr
new file mode 100644
index 0000000000..ecd20e8372
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr
@@ -0,0 +1,38 @@
+
+drvfail-foldable-traversable1.hs:9:23:
+ No instance for (Functor Trivial1)
+ arising from the 'deriving' clause of a data type declaration
+ Possible fix:
+ add an instance declaration for (Functor Trivial1)
+ or use a standalone 'deriving instance' declaration,
+ so you can specify the instance context yourself
+ When deriving the instance for (Traversable Trivial1)
+
+drvfail-foldable-traversable1.hs:13:22:
+ No instance for (Foldable Trivial2)
+ arising from the 'deriving' clause of a data type declaration
+ Possible fix:
+ add an instance declaration for (Foldable Trivial2)
+ or use a standalone 'deriving instance' declaration,
+ so you can specify the instance context yourself
+ When deriving the instance for (Traversable Trivial2)
+
+drvfail-foldable-traversable1.hs:17:22:
+ Can't make a derived instance of `Foldable Infinite':
+ Constructor `Infinite' must not contain function types
+ In the data type declaration for `Infinite'
+
+drvfail-foldable-traversable1.hs:17:31:
+ Can't make a derived instance of `Traversable Infinite':
+ Constructor `Infinite' must not contain function types
+ In the data type declaration for `Infinite'
+
+drvfail-foldable-traversable1.hs:21:22:
+ Can't make a derived instance of `Foldable (Cont r)':
+ Constructor `Cont' must not contain function types
+ In the data type declaration for `Cont'
+
+drvfail-foldable-traversable1.hs:21:31:
+ Can't make a derived instance of `Traversable (Cont r)':
+ Constructor `Cont' must not contain function types
+ In the data type declaration for `Cont'