diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail117.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail117.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail117.stderr b/testsuite/tests/typecheck/should_fail/tcfail117.stderr index 3f2248a61f..e35a2581c8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail117.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail117.stderr @@ -1,13 +1,13 @@ tcfail117.hs:5:32: - Can't make a derived instance of ‛Enum N1’: - ‛N1’ must be an enumeration type + Can't make a derived instance of ‘Enum N1’: + ‘N1’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension - In the newtype declaration for ‛N1’ + In the newtype declaration for ‘N1’ tcfail117.hs:6:32: - Can't make a derived instance of ‛Enum N2’: - ‛N2’ must be an enumeration type + Can't make a derived instance of ‘Enum N2’: + ‘N2’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) - In the data declaration for ‛N2’ + In the data declaration for ‘N2’ |