diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-09-13 10:22:05 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-09-13 10:27:53 -0400 |
commit | 362cca13858faf7e1158273780ea900e7dad5827 (patch) | |
tree | 468c06697b2a6ef3f65b79a469a131d279f71deb /testsuite/tests/generics/GenCannotDoRep0_0.stderr | |
parent | 65a0bd69ac1fb59047cd4c8554a8fc756c7b3476 (diff) | |
download | haskell-362cca13858faf7e1158273780ea900e7dad5827.tar.gz |
Diagnostic codes: acccept test changes
The testsuite output now contains diagnostic codes, so many tests need
to be updated at once.
We decided it was best to keep the diagnostic codes in the testsuite
output, so that contributors don't inadvertently make changes to the
diagnostic codes.
Diffstat (limited to 'testsuite/tests/generics/GenCannotDoRep0_0.stderr')
-rw-r--r-- | testsuite/tests/generics/GenCannotDoRep0_0.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/generics/GenCannotDoRep0_0.stderr b/testsuite/tests/generics/GenCannotDoRep0_0.stderr index ced307d7c9..04c03697b3 100644 --- a/testsuite/tests/generics/GenCannotDoRep0_0.stderr +++ b/testsuite/tests/generics/GenCannotDoRep0_0.stderr @@ -2,13 +2,13 @@ GenCannotDoRep0_0.hs:6:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -GenCannotDoRep0_0.hs:13:45: error: +GenCannotDoRep0_0.hs:13:45: error: [GHC-16437] • Can't make a derived instance of ‘Generic Dynamic’: Constructor ‘Dynamic’ has existential type variables in its type • In the data declaration for ‘Dynamic’ Suggested fix: Use a standalone deriving declaration instead -GenCannotDoRep0_0.hs:28:1: error: +GenCannotDoRep0_0.hs:28:1: error: [GHC-30367] • Can't make a derived instance of ‘Generic (D Int a)’: D must not have a datatype context • In the stand-alone deriving instance for ‘Generic (D Int a)’ |