summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci
diff options
context:
space:
mode:
authorGiles Anderson <agander@gmail.com>2022-08-29 23:01:47 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-11-09 09:27:52 -0500
commit92ccb8de9624ea930d66152b2f6a181941a497c9 (patch)
tree6231d4f2c6a7e4e60a18f7d9f128ffab1e0ffe10 /testsuite/tests/ghci
parent080fffa1015bcc0cff8ab4ad1eeb507fb7a13383 (diff)
downloadhaskell-92ccb8de9624ea930d66152b2f6a181941a497c9.tar.gz
Use TcRnDiagnostic in GHC.Tc.TyCl.Instance (#20117)
The following `TcRnDiagnostic` messages have been introduced: TcRnWarnUnsatisfiedMinimalDefinition TcRnMisplacedInstSig TcRnBadBootFamInstDeclErr TcRnIllegalFamilyInstance TcRnAssocInClassErr TcRnBadFamInstDecl TcRnNotOpenFamily
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r--testsuite/tests/ghci/scripts/T5820.stderr2
-rw-r--r--testsuite/tests/ghci/scripts/ghci019.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghci/scripts/T5820.stderr b/testsuite/tests/ghci/scripts/T5820.stderr
index 370aa6d95c..f8db31f671 100644
--- a/testsuite/tests/ghci/scripts/T5820.stderr
+++ b/testsuite/tests/ghci/scripts/T5820.stderr
@@ -1,5 +1,5 @@
-T5820.hs:4:10: warning: [-Wmissing-methods (in -Wdefault)]
+T5820.hs:4:10: warning: [GHC-06201] [-Wmissing-methods (in -Wdefault)]
• No explicit implementation for
either ‘==’ or ‘/=’
• In the instance declaration for ‘Eq Foo’
diff --git a/testsuite/tests/ghci/scripts/ghci019.stderr b/testsuite/tests/ghci/scripts/ghci019.stderr
index 51d5a0123f..2f7df7f4eb 100644
--- a/testsuite/tests/ghci/scripts/ghci019.stderr
+++ b/testsuite/tests/ghci/scripts/ghci019.stderr
@@ -1,5 +1,5 @@
-ghci019.hs:10:10: warning: [-Wmissing-methods (in -Wdefault)]
+ghci019.hs:10:10: warning: [GHC-06201] [-Wmissing-methods (in -Wdefault)]
• No explicit implementation for
either ‘Prelude.==’ or ‘Prelude./=’
• In the instance declaration for ‘Prelude.Eq Foo’