summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/ghci/p16.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/ghci/p16.stderr')
-rw-r--r--testsuite/tests/safeHaskell/ghci/p16.stderr4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/safeHaskell/ghci/p16.stderr b/testsuite/tests/safeHaskell/ghci/p16.stderr
index 36ee15327d..69a10da8db 100644
--- a/testsuite/tests/safeHaskell/ghci/p16.stderr
+++ b/testsuite/tests/safeHaskell/ghci/p16.stderr
@@ -5,8 +5,10 @@
<interactive>:16:29: error:
• Can't make a derived instance of ‘Op T2’:
‘Op’ is not a stock derivable class (Eq, Show, etc.)
- Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
• In the newtype declaration for ‘T2’
+ Suggested fix:
+ Perhaps you intended to use GeneralizedNewtypeDeriving
+ for GHC's newtype-deriving extension
<interactive>:19:9: error:
• Data constructor not in scope: T2 :: T -> t