diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail117.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail117.stderr | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail117.stderr b/testsuite/tests/typecheck/should_fail/tcfail117.stderr index e35a2581c8..41caeaea92 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 GeneralizedNewtypeDeriving for GHC's newtype-deriving extension - In the newtype declaration for ‘N1’ +tcfail117.hs:6:32: error: + • 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’ -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:7:32: error: + • 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’ |