summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T2310.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_fail/T2310.stderr')
-rw-r--r--testsuite/tests/rename/should_fail/T2310.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T2310.stderr b/testsuite/tests/rename/should_fail/T2310.stderr
new file mode 100644
index 0000000000..6500eef1fc
--- /dev/null
+++ b/testsuite/tests/rename/should_fail/T2310.stderr
@@ -0,0 +1,10 @@
+
+T2310.hs:5:22:
+ Illegal result type signature `a'
+ Result signatures are no longer supported in pattern matches
+ In a lambda abstraction: \ x :: a -> (x :: a)
+
+T2310.hs:5:39:
+ Not in scope: `co'
+ Perhaps you meant one of these:
+ `c' (line 5), `cos' (imported from Prelude)