summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T9161-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/T9161-2.stderr')
-rw-r--r--testsuite/tests/patsyn/should_fail/T9161-2.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T9161-2.stderr b/testsuite/tests/patsyn/should_fail/T9161-2.stderr
index b7a1f360d7..409b922776 100644
--- a/testsuite/tests/patsyn/should_fail/T9161-2.stderr
+++ b/testsuite/tests/patsyn/should_fail/T9161-2.stderr
@@ -1,6 +1,7 @@
T9161-2.hs:8:20: error:
- • Pattern synonym ‘PATTERN’ used as a type
+ • Pattern synonym ‘PATTERN’ cannot be used here
+ (Pattern synonyms cannot be promoted)
• In the first argument of ‘Proxy’, namely ‘PATTERN’
In the type signature:
wrongLift :: Proxy PATTERN ()