diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr index d45f3ca016..e0a3e3cd08 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr @@ -1,5 +1,6 @@ -UnliftedNewtypesNotEnabled.hs:9:1: error: - • Newtype has non-* return kind ‘TYPE 'GHC.Types.IntRep’ +UnliftedNewtypesNotEnabled.hs:9:15: error: + • A newtype must have an argument of kind * Perhaps you intended to use UnliftedNewtypes - • In the newtype declaration for ‘Baz’ + • In the definition of data constructor ‘Baz’ + In the newtype declaration for ‘Baz’ |