diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail117.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail117.stderr | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail117.stderr b/testsuite/tests/typecheck/should_fail/tcfail117.stderr index c7be9199c5..40a14e7f20 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
- (an enumeration consists of one or more nullary, non-GADT constructors)
- Try -XGeneralizedNewtypeDeriving for GHC's newtype-deriving extension
- 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
- (an enumeration consists of one or more nullary, non-GADT constructors)
- In the data declaration for `N2'
+ +tcfail117.hs:5:32: + 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 -XGeneralizedNewtypeDeriving for GHC's newtype-deriving extension + 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 + (an enumeration consists of one or more nullary, non-GADT constructors) + In the data declaration for ‛N2’ |