summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorTorsten Schmits <git@tryp.io>2023-04-26 21:56:16 +0200
committerTorsten Schmits <haskell-gitlab@schmits.me>2023-05-05 08:43:02 +0000
commit275836d211d119cb8786a91ca3108a4daa693cb2 (patch)
tree9dfc96c90e69cd97ba2e674407be8f30bf5ac26c /testsuite
parente8b72ff6e4aee1f889a9168df57bb1b00168fd21 (diff)
downloadhaskell-275836d211d119cb8786a91ca3108a4daa693cb2.tar.gz
Add structured error messages for GHC.Rename.Utils
Tracking ticket: #20115 MR: !10350 This converts uses of `mkTcRnUnknownMessage` to newly added constructors of `TcRnMessage`.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/deSugar/should_compile/ds053.stderr2
-rw-r--r--testsuite/tests/deriving/should_compile/T13919.stderr2
-rw-r--r--testsuite/tests/driver/t22391/t22391.stderr2
-rw-r--r--testsuite/tests/driver/t22391/t22391j.stderr2
-rw-r--r--testsuite/tests/driver/werror.stderr4
-rw-r--r--testsuite/tests/gadt/T12087.stderr10
-rw-r--r--testsuite/tests/gadt/T14320.stderr2
-rw-r--r--testsuite/tests/gadt/T16427.stderr2
-rw-r--r--testsuite/tests/gadt/T18191.stderr10
-rw-r--r--testsuite/tests/ghci/prog018/prog018.stdout2
-rw-r--r--testsuite/tests/indexed-types/should_compile/ExplicitForAllFams2.stderr8
-rw-r--r--testsuite/tests/indexed-types/should_compile/T16356_Compile2.stderr12
-rw-r--r--testsuite/tests/indexed-types/should_compile/T16632.stderr2
-rw-r--r--testsuite/tests/indexed-types/should_compile/UnusedTyVarWarnings.stderr8
-rw-r--r--testsuite/tests/indexed-types/should_compile/UnusedTyVarWarningsNamedWCs.stderr8
-rw-r--r--testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr2
-rw-r--r--testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr2
-rw-r--r--testsuite/tests/mdo/should_fail/mdofail002.stderr2
-rw-r--r--testsuite/tests/mdo/should_fail/mdofail003.stderr2
-rw-r--r--testsuite/tests/module/mod110.stderr2
-rw-r--r--testsuite/tests/module/mod151.stderr2
-rw-r--r--testsuite/tests/module/mod152.stderr2
-rw-r--r--testsuite/tests/module/mod153.stderr2
-rw-r--r--testsuite/tests/module/mod164.stderr2
-rw-r--r--testsuite/tests/module/mod165.stderr2
-rw-r--r--testsuite/tests/module/mod23.stderr2
-rw-r--r--testsuite/tests/module/mod24.stderr2
-rw-r--r--testsuite/tests/module/mod62.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout6
-rw-r--r--testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout2
-rw-r--r--testsuite/tests/overloadedrecflds/should_compile/BootFldReexport.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/NoFieldSelectorsFail.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/T11167_ambiguous_fixity.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr4
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/T16745.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/T17420.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/T17469.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/T18999_NoDisambiguateRecordFields.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/T23010_fail.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail02.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail04.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr6
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail11.stderr2
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail12.stderr4
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail13.stderr8
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldswasrunnowfail06.stderr8
-rw-r--r--testsuite/tests/parser/should_compile/read014.stderr4
-rw-r--r--testsuite/tests/parser/should_fail/T12446.stderr4
-rw-r--r--testsuite/tests/parser/should_fail/T18251c.stderr4
-rw-r--r--testsuite/tests/patsyn/should_fail/T14114.stderr6
-rw-r--r--testsuite/tests/polykinds/T10451.stderr2
-rw-r--r--testsuite/tests/quasiquotation/qq006/qq006.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T13839.stdout2
-rw-r--r--testsuite/tests/rename/should_compile/T13839a.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T17a.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T17b.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T17d.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T17e.stderr4
-rw-r--r--testsuite/tests/rename/should_compile/T1972.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T3371.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T3449.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/T7145b.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/mc10.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/rn040.stderr4
-rw-r--r--testsuite/tests/rename/should_compile/rn041.stderr6
-rw-r--r--testsuite/tests/rename/should_compile/rn047.stderr2
-rw-r--r--testsuite/tests/rename/should_compile/rn063.stderr4
-rw-r--r--testsuite/tests/rename/should_compile/unused_haddock.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T11167_ambig.stderr4
-rw-r--r--testsuite/tests/rename/should_fail/T13644.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T13847.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T15487.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T15957_Fail.stderr36
-rw-r--r--testsuite/tests/rename/should_fail/T16114.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T18240a.stderr10
-rw-r--r--testsuite/tests/rename/should_fail/T18240b.stderr12
-rw-r--r--testsuite/tests/rename/should_fail/T5951.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T6148a.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T6148b.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T6148c.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/T6148d.stderr8
-rw-r--r--testsuite/tests/rename/should_fail/T8448.stderr3
-rw-r--r--testsuite/tests/rename/should_fail/rnfail001.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/rnfail004.stderr4
-rw-r--r--testsuite/tests/rename/should_fail/rnfail021.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/rnfail034.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/rnfail039.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/rnfail044.stderr2
-rw-r--r--testsuite/tests/rename/should_fail/rnfail046.stderr2
-rw-r--r--testsuite/tests/runghc/T17171b.stderr2
-rw-r--r--testsuite/tests/th/T12411.stderr4
-rw-r--r--testsuite/tests/th/T16133.stderr8
-rw-r--r--testsuite/tests/th/TH_recover_warns.stderr4
-rw-r--r--testsuite/tests/th/TH_spliceD1.stderr2
-rw-r--r--testsuite/tests/typecheck/should_compile/T18470.stderr2
-rw-r--r--testsuite/tests/typecheck/should_compile/T2497.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity5.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity6.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity9.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15527.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T16394.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18455.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18723a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18723b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18723c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19397E1.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19397E2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T8570.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail037.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail038.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail083.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail084.stderr2
-rw-r--r--testsuite/tests/warnings/should_fail/WarningGroups.stderr4
115 files changed, 201 insertions, 200 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds053.stderr b/testsuite/tests/deSugar/should_compile/ds053.stderr
index 841c6da753..563503db63 100644
--- a/testsuite/tests/deSugar/should_compile/ds053.stderr
+++ b/testsuite/tests/deSugar/should_compile/ds053.stderr
@@ -1,3 +1,3 @@
-ds053.hs:5:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+ds053.hs:5:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘f’
diff --git a/testsuite/tests/deriving/should_compile/T13919.stderr b/testsuite/tests/deriving/should_compile/T13919.stderr
index 02cfb71aaa..10780d6c36 100644
--- a/testsuite/tests/deriving/should_compile/T13919.stderr
+++ b/testsuite/tests/deriving/should_compile/T13919.stderr
@@ -1,3 +1,3 @@
-T13919.hs:13:19: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T13919.hs:13:19: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: record field of Foo4 ‘bar4’
diff --git a/testsuite/tests/driver/t22391/t22391.stderr b/testsuite/tests/driver/t22391/t22391.stderr
index bdb2abe792..22e1592e1a 100644
--- a/testsuite/tests/driver/t22391/t22391.stderr
+++ b/testsuite/tests/driver/t22391/t22391.stderr
@@ -33,7 +33,7 @@ src/Lib.hs:6:1: warning: [GHC-66111] [-Wunused-imports (in -Wextra)]
src/Lib.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)]
Top-level binding with no type signature: blah :: Integer
-src/Lib.hs:8:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+src/Lib.hs:8:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘blah’
src/Lib.hs:8:8: warning: [GHC-18042] [-Wtype-defaults (in -Wall)]
diff --git a/testsuite/tests/driver/t22391/t22391j.stderr b/testsuite/tests/driver/t22391/t22391j.stderr
index bdb2abe792..22e1592e1a 100644
--- a/testsuite/tests/driver/t22391/t22391j.stderr
+++ b/testsuite/tests/driver/t22391/t22391j.stderr
@@ -33,7 +33,7 @@ src/Lib.hs:6:1: warning: [GHC-66111] [-Wunused-imports (in -Wextra)]
src/Lib.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)]
Top-level binding with no type signature: blah :: Integer
-src/Lib.hs:8:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+src/Lib.hs:8:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘blah’
src/Lib.hs:8:8: warning: [GHC-18042] [-Wtype-defaults (in -Wall)]
diff --git a/testsuite/tests/driver/werror.stderr b/testsuite/tests/driver/werror.stderr
index 67cab2d5f9..1c5b681c8b 100644
--- a/testsuite/tests/driver/werror.stderr
+++ b/testsuite/tests/driver/werror.stderr
@@ -2,7 +2,7 @@
werror.hs:6:1: error: [GHC-38417] [-Wmissing-signatures (in -Wall), Werror=missing-signatures]
Top-level binding with no type signature: main :: IO ()
-werror.hs:7:13: error: [-Wunused-local-binds (in -Wextra, -Wunused-binds), Werror=unused-local-binds]
+werror.hs:7:13: error: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds), Werror=unused-local-binds]
Defined but not used: ‘main’
werror.hs:7:13: error: [GHC-63397] [-Wname-shadowing (in -Wall), Werror=name-shadowing]
@@ -16,7 +16,7 @@ werror.hs:8:1: error: [GHC-94817] [-Wtabs (in -Wdefault), Werror=tabs]
werror.hs:10:1: error: [GHC-38417] [-Wmissing-signatures (in -Wall), Werror=missing-signatures]
Top-level binding with no type signature: f :: [a1] -> [a2]
-werror.hs:10:1: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds]
+werror.hs:10:1: error: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds]
Defined but not used: ‘f’
werror.hs:10:1: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns]
diff --git a/testsuite/tests/gadt/T12087.stderr b/testsuite/tests/gadt/T12087.stderr
index ef0251a003..7ef702e8e2 100644
--- a/testsuite/tests/gadt/T12087.stderr
+++ b/testsuite/tests/gadt/T12087.stderr
@@ -1,20 +1,20 @@
-T12087.hs:6:20: error:
+T12087.hs:6:20: error: [GHC-71492]
GADT constructor type signature cannot contain nested ‘forall’s or contexts
In the definition of data constructor ‘MkF1’
-T12087.hs:9:25: error:
+T12087.hs:9:25: error: [GHC-71492]
GADT constructor type signature cannot contain nested ‘forall’s or contexts
In the definition of data constructor ‘MkF2’
-T12087.hs:12:34: error:
+T12087.hs:12:34: error: [GHC-71492]
GADT constructor type signature cannot contain nested ‘forall’s or contexts
In the definition of data constructor ‘MkF3’
-T12087.hs:15:36: error:
+T12087.hs:15:36: error: [GHC-71492]
GADT constructor type signature cannot contain nested ‘forall’s or contexts
In the definition of data constructor ‘MkF4’
-T12087.hs:18:25: error:
+T12087.hs:18:25: error: [GHC-71492]
GADT constructor type signature cannot contain nested ‘forall’s or contexts
In the definition of data constructor ‘MkF5’
diff --git a/testsuite/tests/gadt/T14320.stderr b/testsuite/tests/gadt/T14320.stderr
index 9cfb6ed9fc..e83aef1b46 100644
--- a/testsuite/tests/gadt/T14320.stderr
+++ b/testsuite/tests/gadt/T14320.stderr
@@ -1,4 +1,4 @@
-T14320.hs:17:14: error:
+T14320.hs:17:14: error: [GHC-71492]
GADT constructor type signature cannot contain nested ‘forall’s or contexts
In the definition of data constructor ‘TEBad’
diff --git a/testsuite/tests/gadt/T16427.stderr b/testsuite/tests/gadt/T16427.stderr
index b7288c9cd6..233544d333 100644
--- a/testsuite/tests/gadt/T16427.stderr
+++ b/testsuite/tests/gadt/T16427.stderr
@@ -1,4 +1,4 @@
-T16427.hs:5:26: error:
+T16427.hs:5:26: error: [GHC-71492]
GADT constructor type signature cannot contain nested ‘forall’s or contexts
In the definition of data constructor ‘C’
diff --git a/testsuite/tests/gadt/T18191.stderr b/testsuite/tests/gadt/T18191.stderr
index ce877d0332..8e5662bec3 100644
--- a/testsuite/tests/gadt/T18191.stderr
+++ b/testsuite/tests/gadt/T18191.stderr
@@ -1,24 +1,24 @@
-T18191.hs:6:11: error:
+T18191.hs:6:11: error: [GHC-71492]
• GADT constructor type signature cannot contain nested ‘forall’s or contexts
• In the definition of data constructor ‘MkT’
-T18191.hs:9:11: error:
+T18191.hs:9:11: error: [GHC-71492]
• GADT constructor type signature cannot contain nested ‘forall’s or contexts
• In the definition of data constructor ‘MkS’
-T18191.hs:12:11: error:
+T18191.hs:12:11: error: [GHC-71492]
• GADT constructor type signature cannot contain nested ‘forall’s or contexts
• In the definition of data constructor ‘MkU’
-T18191.hs:15:21: error:
+T18191.hs:15:21: error: [GHC-71492]
• GADT constructor type signature cannot contain nested ‘forall’s or contexts
• In the definition of data constructor ‘MkZ1’
T18191.hs:15:31: error: [GHC-89246]
Record syntax is illegal here: {unZ1 :: (a, b)}
-T18191.hs:16:19: error:
+T18191.hs:16:19: error: [GHC-71492]
• GADT constructor type signature cannot contain nested ‘forall’s or contexts
• In the definition of data constructor ‘MkZ2’
diff --git a/testsuite/tests/ghci/prog018/prog018.stdout b/testsuite/tests/ghci/prog018/prog018.stdout
index 1fff03d755..dddc475a4a 100644
--- a/testsuite/tests/ghci/prog018/prog018.stdout
+++ b/testsuite/tests/ghci/prog018/prog018.stdout
@@ -7,7 +7,7 @@ A.hs:5:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)]
In an equation for ‘incompletePattern’:
Patterns of type ‘Int’ not matched: p where p is not one of {0}
-A.hs:8:15: warning: [-Wunused-matches (in -Wextra)]
+A.hs:8:15: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘x’
B.hs:7:1: warning: [GHC-66111] [-Wunused-imports (in -Wextra)]
diff --git a/testsuite/tests/indexed-types/should_compile/ExplicitForAllFams2.stderr b/testsuite/tests/indexed-types/should_compile/ExplicitForAllFams2.stderr
index a8aece69eb..327f487a86 100644
--- a/testsuite/tests/indexed-types/should_compile/ExplicitForAllFams2.stderr
+++ b/testsuite/tests/indexed-types/should_compile/ExplicitForAllFams2.stderr
@@ -1,12 +1,12 @@
-ExplicitForAllFams2.hs:34:10: warning: [-Wunused-type-patterns]
+ExplicitForAllFams2.hs:34:10: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘t’
-ExplicitForAllFams2.hs:35:10: warning: [-Wunused-type-patterns]
+ExplicitForAllFams2.hs:35:10: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘a’
-ExplicitForAllFams2.hs:38:6: warning: [-Wunused-type-patterns]
+ExplicitForAllFams2.hs:38:6: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘t’
-ExplicitForAllFams2.hs:39:6: warning: [-Wunused-type-patterns]
+ExplicitForAllFams2.hs:39:6: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘a’
diff --git a/testsuite/tests/indexed-types/should_compile/T16356_Compile2.stderr b/testsuite/tests/indexed-types/should_compile/T16356_Compile2.stderr
index 41fe7794b8..9c41c884b6 100644
--- a/testsuite/tests/indexed-types/should_compile/T16356_Compile2.stderr
+++ b/testsuite/tests/indexed-types/should_compile/T16356_Compile2.stderr
@@ -1,18 +1,18 @@
-T16356_Compile2.hs:10:11: warning: [-Wunused-type-patterns]
+T16356_Compile2.hs:10:11: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘a’
-T16356_Compile2.hs:10:11: warning: [-Wunused-type-patterns]
+T16356_Compile2.hs:10:11: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘j’
-T16356_Compile2.hs:13:15: warning: [-Wunused-type-patterns]
+T16356_Compile2.hs:13:15: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘j’
-T16356_Compile2.hs:13:18: warning: [-Wunused-type-patterns]
+T16356_Compile2.hs:13:18: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘a’
-T16356_Compile2.hs:16:15: warning: [-Wunused-type-patterns]
+T16356_Compile2.hs:16:15: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘j’
-T16356_Compile2.hs:16:18: warning: [-Wunused-type-patterns]
+T16356_Compile2.hs:16:18: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘a’
diff --git a/testsuite/tests/indexed-types/should_compile/T16632.stderr b/testsuite/tests/indexed-types/should_compile/T16632.stderr
index 1f0aea9a87..061b25f2d1 100644
--- a/testsuite/tests/indexed-types/should_compile/T16632.stderr
+++ b/testsuite/tests/indexed-types/should_compile/T16632.stderr
@@ -1,5 +1,5 @@
-T16632.hs:5:17: warning: [-Wunused-type-patterns]
+T16632.hs:5:17: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘b’
|
5 | type instance F Char b Int = ()
diff --git a/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarnings.stderr b/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarnings.stderr
index b3b97f03a5..296fbea612 100644
--- a/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarnings.stderr
+++ b/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarnings.stderr
@@ -1,12 +1,12 @@
-UnusedTyVarWarnings.hs:8:5: warning: [-Wunused-type-patterns]
+UnusedTyVarWarnings.hs:8:5: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘b’
-UnusedTyVarWarnings.hs:11:18: warning: [-Wunused-type-patterns]
+UnusedTyVarWarnings.hs:11:18: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘b’
-UnusedTyVarWarnings.hs:27:5: warning: [-Wunused-type-patterns]
+UnusedTyVarWarnings.hs:27:5: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘a’
-UnusedTyVarWarnings.hs:33:17: warning: [-Wunused-type-patterns]
+UnusedTyVarWarnings.hs:33:17: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘b’
diff --git a/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarningsNamedWCs.stderr b/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarningsNamedWCs.stderr
index 4801686ae3..e623a73814 100644
--- a/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarningsNamedWCs.stderr
+++ b/testsuite/tests/indexed-types/should_compile/UnusedTyVarWarningsNamedWCs.stderr
@@ -1,12 +1,12 @@
-UnusedTyVarWarningsNamedWCs.hs:8:5: warning: [-Wunused-type-patterns]
+UnusedTyVarWarningsNamedWCs.hs:8:5: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘b’
-UnusedTyVarWarningsNamedWCs.hs:11:18: warning: [-Wunused-type-patterns]
+UnusedTyVarWarningsNamedWCs.hs:11:18: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘b’
-UnusedTyVarWarningsNamedWCs.hs:27:5: warning: [-Wunused-type-patterns]
+UnusedTyVarWarningsNamedWCs.hs:27:5: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘a’
-UnusedTyVarWarningsNamedWCs.hs:33:17: warning: [-Wunused-type-patterns]
+UnusedTyVarWarningsNamedWCs.hs:33:17: warning: [GHC-40910] [-Wunused-type-patterns]
Defined but not used on the right hand side: type variable ‘b’
diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr
index 92d8db7912..940aca6192 100644
--- a/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr
+++ b/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr
@@ -1,5 +1,5 @@
-SimpleFail6.hs:7:11: error:
+SimpleFail6.hs:7:11: error: [GHC-10498]
Conflicting definitions for ‘a’
Bound at: SimpleFail6.hs:7:11
SimpleFail6.hs:7:13
diff --git a/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr b/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr
index a20bada920..6b448d9328 100644
--- a/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr
+++ b/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr
@@ -11,7 +11,7 @@ T16110_Fail1.hs:10:32: error: [GHC-76037]
T16110_Fail1.hs:10:34: error: [GHC-76037]
Not in scope: type variable ‘b’
-T16110_Fail1.hs:13:15: error:
+T16110_Fail1.hs:13:15: error: [GHC-10498]
Conflicting definitions for ‘dup’
Bound at: T16110_Fail1.hs:13:15-17
T16110_Fail1.hs:13:19-21
diff --git a/testsuite/tests/mdo/should_fail/mdofail002.stderr b/testsuite/tests/mdo/should_fail/mdofail002.stderr
index 7c0d7b679c..a038fc4630 100644
--- a/testsuite/tests/mdo/should_fail/mdofail002.stderr
+++ b/testsuite/tests/mdo/should_fail/mdofail002.stderr
@@ -1,5 +1,5 @@
-mdofail002.hs:10:9:
+mdofail002.hs:10:9: [GHC-10498]
Conflicting definitions for ‘x’
Bound at: mdofail002.hs:10:9
mdofail002.hs:11:9
diff --git a/testsuite/tests/mdo/should_fail/mdofail003.stderr b/testsuite/tests/mdo/should_fail/mdofail003.stderr
index 6d9741280e..d938463bef 100644
--- a/testsuite/tests/mdo/should_fail/mdofail003.stderr
+++ b/testsuite/tests/mdo/should_fail/mdofail003.stderr
@@ -1,5 +1,5 @@
-mdofail003.hs:10:9:
+mdofail003.hs:10:9: [GHC-10498]
Conflicting definitions for ‘x’
Bound at: mdofail003.hs:10:9
mdofail003.hs:11:13
diff --git a/testsuite/tests/module/mod110.stderr b/testsuite/tests/module/mod110.stderr
index 6a7ade9c44..38e9c79a54 100644
--- a/testsuite/tests/module/mod110.stderr
+++ b/testsuite/tests/module/mod110.stderr
@@ -1,5 +1,5 @@
-mod110.hs:11:10: error:
+mod110.hs:11:10: error: [GHC-87543]
Ambiguous occurrence ‘Eq’
It could refer to either ‘Prelude.Eq’,
imported from ‘Prelude’ at mod110.hs:4:1-14
diff --git a/testsuite/tests/module/mod151.stderr b/testsuite/tests/module/mod151.stderr
index 265ad86031..8bb41459fb 100644
--- a/testsuite/tests/module/mod151.stderr
+++ b/testsuite/tests/module/mod151.stderr
@@ -1,5 +1,5 @@
-mod151.hs:2:20: error:
+mod151.hs:2:20: error: [GHC-87543]
Ambiguous occurrence ‘id’
It could refer to either ‘Prelude.id’,
imported from ‘Prelude’ at mod151.hs:2:8
diff --git a/testsuite/tests/module/mod152.stderr b/testsuite/tests/module/mod152.stderr
index 769b45b1c5..d60269b757 100644
--- a/testsuite/tests/module/mod152.stderr
+++ b/testsuite/tests/module/mod152.stderr
@@ -1,5 +1,5 @@
-mod152.hs:2:26: error:
+mod152.hs:2:26: error: [GHC-87543]
Ambiguous occurrence ‘id’
It could refer to either ‘Prelude.id’,
imported from ‘Prelude’ at mod152.hs:2:8
diff --git a/testsuite/tests/module/mod153.stderr b/testsuite/tests/module/mod153.stderr
index 51f14a486c..989b27a77e 100644
--- a/testsuite/tests/module/mod153.stderr
+++ b/testsuite/tests/module/mod153.stderr
@@ -1,5 +1,5 @@
-mod153.hs:2:11: error:
+mod153.hs:2:11: error: [GHC-87543]
Ambiguous occurrence ‘id’
It could refer to either ‘Prelude.id’,
imported from ‘Prelude’ at mod153.hs:2:8
diff --git a/testsuite/tests/module/mod164.stderr b/testsuite/tests/module/mod164.stderr
index ecdeff8063..d6c0a9eec2 100644
--- a/testsuite/tests/module/mod164.stderr
+++ b/testsuite/tests/module/mod164.stderr
@@ -1,5 +1,5 @@
-mod164.hs:9:5:
+mod164.hs:9:5: [GHC-87543]
Ambiguous occurrence ‘D1’
It could refer to either ‘Mod164_A.D1’,
imported from ‘Mod164_A’ at mod164.hs:4:1-15
diff --git a/testsuite/tests/module/mod165.stderr b/testsuite/tests/module/mod165.stderr
index 927b36924d..9ef57d4bbd 100644
--- a/testsuite/tests/module/mod165.stderr
+++ b/testsuite/tests/module/mod165.stderr
@@ -1,5 +1,5 @@
-mod165.hs:9:5:
+mod165.hs:9:5: [GHC-87543]
Ambiguous occurrence ‘A.D1’
It could refer to either ‘A.D1’,
imported from ‘Mod164_A’ at mod165.hs:4:1-20
diff --git a/testsuite/tests/module/mod23.stderr b/testsuite/tests/module/mod23.stderr
index 4387fb737a..e0d8ef994b 100644
--- a/testsuite/tests/module/mod23.stderr
+++ b/testsuite/tests/module/mod23.stderr
@@ -1,5 +1,5 @@
-mod23.hs:3:8:
+mod23.hs:3:8: [GHC-10498]
Conflicting definitions for ‘a’
Bound at: mod23.hs:3:8
mod23.hs:3:10
diff --git a/testsuite/tests/module/mod24.stderr b/testsuite/tests/module/mod24.stderr
index efc5ad5dd0..34b393c413 100644
--- a/testsuite/tests/module/mod24.stderr
+++ b/testsuite/tests/module/mod24.stderr
@@ -1,5 +1,5 @@
-mod24.hs:3:8:
+mod24.hs:3:8: [GHC-10498]
Conflicting definitions for ‘a’
Bound at: mod24.hs:3:8
mod24.hs:3:10
diff --git a/testsuite/tests/module/mod62.stderr b/testsuite/tests/module/mod62.stderr
index eab3f938b1..94c4797e0a 100644
--- a/testsuite/tests/module/mod62.stderr
+++ b/testsuite/tests/module/mod62.stderr
@@ -1,5 +1,5 @@
-mod62.hs:3:9: error: Qualified name in binding position: M.y
+mod62.hs:3:9: error: [GHC-28329] Qualified name in binding position: M.y
mod62.hs:3:22: error: [GHC-76037]
Not in scope: ‘M.y’
diff --git a/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout b/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
index c912c3c4ee..4d4e5817d9 100644
--- a/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
+++ b/testsuite/tests/overloadedrecflds/ghci/GHCiDRF.stdout
@@ -1,6 +1,6 @@
GHCiDRF.foo :: T -> Int
-<interactive>:1:1: error:
+<interactive>:1:1: error: [GHC-87543]
Ambiguous occurrence ‘GHCiDRF.bar’
It could refer to
either the field ‘bar’ of record ‘T’, defined at GHCiDRF.hs:3:28
@@ -17,7 +17,7 @@ data U = MkU {bar :: Bool}
-- Defined at GHCiDRF.hs:4:16
GHCiDRF.foo :: GHCiDRF.T -> Int
-<interactive>:1:1: error:
+<interactive>:1:1: error: [GHC-87543]
Ambiguous occurrence ‘GHCiDRF.bar’
It could refer to
either the field ‘bar’,
@@ -37,7 +37,7 @@ type GHCiDRF.U :: *
data GHCiDRF.U = GHCiDRF.MkU {GHCiDRF.bar :: Bool}
-- Defined at GHCiDRF.hs:4:16
-<interactive>:11:1: error:
+<interactive>:11:1: error: [GHC-87543]
Ambiguous occurrence ‘GHCiDRF.bar’
It could refer to
either the field ‘bar’,
diff --git a/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout b/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout
index b34e509ecc..c1bb4c99f0 100644
--- a/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout
+++ b/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout
@@ -8,7 +8,7 @@ data T a = MkT {foo :: Bool, ...}
-- Defined at <interactive>:4:18
True
-<interactive>:1:1: error:
+<interactive>:1:1: error: [GHC-87543]
Ambiguous occurrence ‘foo’
It could refer to
either the field ‘foo’ of record ‘S’, defined at <interactive>:3:16
diff --git a/testsuite/tests/overloadedrecflds/should_compile/BootFldReexport.stderr b/testsuite/tests/overloadedrecflds/should_compile/BootFldReexport.stderr
index 0830beb7fc..29d8f451ca 100644
--- a/testsuite/tests/overloadedrecflds/should_compile/BootFldReexport.stderr
+++ b/testsuite/tests/overloadedrecflds/should_compile/BootFldReexport.stderr
@@ -1,5 +1,5 @@
-BootFldReexport.hs:8:9: error:
+BootFldReexport.hs:8:9: error: [GHC-87543]
Ambiguous occurrence ‘fld’
It could refer to
either ‘BootFldReexport_N.fld’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr b/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
index 88e9e6537f..81029d6cd3 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/DRFUnused.stderr
@@ -1,5 +1,5 @@
-DRFUnused.hs:18:5: error:
+DRFUnused.hs:18:5: error: [GHC-87543]
Ambiguous occurrence ‘foo’
It could refer to
either the field ‘foo’ of record ‘S’, defined at DRFUnused.hs:10:16
diff --git a/testsuite/tests/overloadedrecflds/should_fail/NoFieldSelectorsFail.stderr b/testsuite/tests/overloadedrecflds/should_fail/NoFieldSelectorsFail.stderr
index 301b6bc4b8..4eb98f3778 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/NoFieldSelectorsFail.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/NoFieldSelectorsFail.stderr
@@ -1,5 +1,5 @@
-NoFieldSelectorsFail.hs:9:14: error:
+NoFieldSelectorsFail.hs:9:14: error: [GHC-87543]
Ambiguous occurrence ‘foo’
It could refer to
either the field ‘foo’ of record ‘Foo’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/T11167_ambiguous_fixity.stderr b/testsuite/tests/overloadedrecflds/should_fail/T11167_ambiguous_fixity.stderr
index 277a5bd0ac..8a1691ac22 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/T11167_ambiguous_fixity.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/T11167_ambiguous_fixity.stderr
@@ -2,7 +2,7 @@
[2 of 3] Compiling T11167_ambiguous_fixity_B ( T11167_ambiguous_fixity_B.hs, T11167_ambiguous_fixity_B.o )
[3 of 3] Compiling T11167_ambiguous_fixity ( T11167_ambiguous_fixity.hs, T11167_ambiguous_fixity.o )
-T11167_ambiguous_fixity.hs:6:16: error:
+T11167_ambiguous_fixity.hs:6:16: error: [GHC-87543]
Ambiguous occurrence ‘foo’
It could refer to
either the field ‘foo’ of record ‘A’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr b/testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr
index 11374466ec..00fbe0899b 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/T13132_duplicaterecflds.stderr
@@ -1,5 +1,5 @@
-T13132_duplicaterecflds.hs:7:16: error:
+T13132_duplicaterecflds.hs:7:16: error: [GHC-87543]
Ambiguous occurrence ‘runContT’
It could refer to
either the field ‘runContT’ of record ‘ContT’,
@@ -13,7 +13,7 @@ T13132_duplicaterecflds.hs:9:11: error: [GHC-46878]
namely ‘y’ [infixl 9]
in the section: ‘`runContT` x `y` x’
-T13132_duplicaterecflds.hs:9:12: error:
+T13132_duplicaterecflds.hs:9:12: error: [GHC-87543]
Ambiguous occurrence ‘runContT’
It could refer to
either the field ‘runContT’ of record ‘ContT’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/T16745.stderr b/testsuite/tests/overloadedrecflds/should_fail/T16745.stderr
index 5969a540e0..b4515b8a19 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/T16745.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/T16745.stderr
@@ -3,7 +3,7 @@
[3 of 4] Compiling T16745D ( T16745D.hs, T16745D.o )
[4 of 4] Compiling T16745A ( T16745A.hs, T16745A.o )
-T16745A.hs:8:9: error:
+T16745A.hs:8:9: error: [GHC-87543]
Ambiguous occurrence ‘field’
It could refer to
either ‘T16745B.field’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/T17420.stderr b/testsuite/tests/overloadedrecflds/should_fail/T17420.stderr
index e1db5fa195..3a94cd5639 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/T17420.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/T17420.stderr
@@ -1,7 +1,7 @@
[1 of 2] Compiling T17420A ( T17420A.hs, T17420A.o )
[2 of 2] Compiling T17420 ( T17420.hs, T17420.o )
-T17420.hs:6:17: error:
+T17420.hs:6:17: error: [GHC-87543]
Ambiguous occurrence ‘name’
It could refer to
either the field ‘name’ of record ‘Dog’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/T17469.stderr b/testsuite/tests/overloadedrecflds/should_fail/T17469.stderr
index 5d93f46489..2f97d231cd 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/T17469.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/T17469.stderr
@@ -1,5 +1,5 @@
[1 of 3] Compiling T17469A ( T17469A.hs, T17469A.o )
[2 of 3] Compiling Main ( T17469.hs, T17469.o )
-T17469.hs:6:32: error:
+T17469.hs:6:32: error: [GHC-53822]
Constructor ‘MkFoo’ does not have field ‘bar’
diff --git a/testsuite/tests/overloadedrecflds/should_fail/T18999_NoDisambiguateRecordFields.stderr b/testsuite/tests/overloadedrecflds/should_fail/T18999_NoDisambiguateRecordFields.stderr
index f462dcb187..7e7939e028 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/T18999_NoDisambiguateRecordFields.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/T18999_NoDisambiguateRecordFields.stderr
@@ -1,5 +1,5 @@
-T18999_NoDisambiguateRecordFields.hs:6:13: error:
+T18999_NoDisambiguateRecordFields.hs:6:13: error: [GHC-87543]
Ambiguous occurrence ‘not’
It could refer to
either ‘Prelude.not’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/T23010_fail.stderr b/testsuite/tests/overloadedrecflds/should_fail/T23010_fail.stderr
index 61e93b95bb..6a1b76dae9 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/T23010_fail.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/T23010_fail.stderr
@@ -1,5 +1,5 @@
-T23010_fail.hs-boot:7:1: error:
+T23010_fail.hs-boot:7:1: error: [GHC-87543]
Ambiguous occurrence ‘T23010_fail.fld’
It could refer to
either the field ‘fld’ of record ‘A’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail02.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail02.stderr
index 6a27569776..aaf57bd710 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail02.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail02.stderr
@@ -1,5 +1,5 @@
-overloadedrecfldsfail02.hs:8:18: error:
+overloadedrecfldsfail02.hs:8:18: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘R’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail04.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail04.stderr
index 6aa4669729..d319ae53f6 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail04.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail04.stderr
@@ -1,7 +1,7 @@
[1 of 3] Compiling OverloadedRecFldsFail04_A ( OverloadedRecFldsFail04_A.hs, OverloadedRecFldsFail04_A.o )
[2 of 3] Compiling Main ( overloadedrecfldsfail04.hs, overloadedrecfldsfail04.o )
-overloadedrecfldsfail04.hs:9:6: error:
+overloadedrecfldsfail04.hs:9:6: error: [GHC-87543]
Ambiguous occurrence ‘I.x’
It could refer to
either the field ‘x’ of record ‘V’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr
index bff9bd544f..5e887e33cf 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr
@@ -1,3 +1,3 @@
-overloadedrecfldsfail05.hs:7:16: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds]
+overloadedrecfldsfail05.hs:7:16: error: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds]
Defined but not used: record field of MkT ‘foo’
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr
index f1b59db83f..d584430456 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr
@@ -1,12 +1,12 @@
[1 of 3] Compiling OverloadedRecFldsFail06_A ( OverloadedRecFldsFail06_A.hs, OverloadedRecFldsFail06_A.o )
-OverloadedRecFldsFail06_A.hs:9:15: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+OverloadedRecFldsFail06_A.hs:9:15: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: data constructor ‘MkUnused’
-OverloadedRecFldsFail06_A.hs:9:42: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+OverloadedRecFldsFail06_A.hs:9:42: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: record field of MkUnused ‘unused2’
-OverloadedRecFldsFail06_A.hs:9:59: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+OverloadedRecFldsFail06_A.hs:9:59: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: record field of MkUnused ‘used_locally’
[2 of 3] Compiling Main ( overloadedrecfldsfail06.hs, overloadedrecfldsfail06.o )
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail11.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail11.stderr
index 54472f4293..423472841c 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail11.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail11.stderr
@@ -1,7 +1,7 @@
[1 of 3] Compiling OverloadedRecFldsFail11_A ( OverloadedRecFldsFail11_A.hs, OverloadedRecFldsFail11_A.o )
[2 of 3] Compiling Main ( overloadedrecfldsfail11.hs, overloadedrecfldsfail11.o )
-overloadedrecfldsfail11.hs:5:15: error:
+overloadedrecfldsfail11.hs:5:15: error: [GHC-87543]
Ambiguous occurrence ‘foo’
It could refer to
either the field ‘foo’ of record ‘S’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail12.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail12.stderr
index 28ebc96009..a6abb29b19 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail12.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail12.stderr
@@ -1,7 +1,7 @@
[1 of 3] Compiling OverloadedRecFldsFail12_A ( OverloadedRecFldsFail12_A.hs, OverloadedRecFldsFail12_A.o )
[2 of 3] Compiling Main ( overloadedrecfldsfail12.hs, overloadedrecfldsfail12.o )
-overloadedrecfldsfail12.hs:13:5: error:
+overloadedrecfldsfail12.hs:13:5: error: [GHC-87543]
Ambiguous occurrence ‘foo’
It could refer to
either the field ‘foo’ of record ‘T’,
@@ -10,7 +10,7 @@ overloadedrecfldsfail12.hs:13:5: error:
or the field ‘foo’ of record ‘S’,
defined at overloadedrecfldsfail12.hs:6:16
-overloadedrecfldsfail12.hs:16:5: error:
+overloadedrecfldsfail12.hs:16:5: error: [GHC-87543]
Ambiguous occurrence ‘foo’
It could refer to
either the field ‘foo’ of record ‘T’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail13.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail13.stderr
index 4fb285b327..cf9a7a5678 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail13.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail13.stderr
@@ -1,5 +1,5 @@
-overloadedrecfldsfail13.hs:10:5: error:
+overloadedrecfldsfail13.hs:10:5: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
@@ -7,7 +7,7 @@ overloadedrecfldsfail13.hs:10:5: error:
or the field ‘x’ of record ‘T’,
defined at overloadedrecfldsfail13.hs:7:16
-overloadedrecfldsfail13.hs:12:5: error:
+overloadedrecfldsfail13.hs:12:5: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
@@ -15,7 +15,7 @@ overloadedrecfldsfail13.hs:12:5: error:
or the field ‘x’ of record ‘T’,
defined at overloadedrecfldsfail13.hs:7:16
-overloadedrecfldsfail13.hs:15:5: error:
+overloadedrecfldsfail13.hs:15:5: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
@@ -23,7 +23,7 @@ overloadedrecfldsfail13.hs:15:5: error:
or the field ‘x’ of record ‘T’,
defined at overloadedrecfldsfail13.hs:7:16
-overloadedrecfldsfail13.hs:18:5: error:
+overloadedrecfldsfail13.hs:18:5: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldswasrunnowfail06.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldswasrunnowfail06.stderr
index c5f1e431c9..2b90b16f97 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldswasrunnowfail06.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldswasrunnowfail06.stderr
@@ -1,5 +1,5 @@
-overloadedrecfldswasrunnowfail06.hs:11:11: error:
+overloadedrecfldswasrunnowfail06.hs:11:11: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
@@ -9,7 +9,7 @@ overloadedrecfldswasrunnowfail06.hs:11:11: error:
or the field ‘x’ of record ‘U’,
defined at overloadedrecfldswasrunnowfail06.hs:8:18
-overloadedrecfldswasrunnowfail06.hs:13:11: error:
+overloadedrecfldswasrunnowfail06.hs:13:11: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
@@ -19,7 +19,7 @@ overloadedrecfldswasrunnowfail06.hs:13:11: error:
or the field ‘x’ of record ‘U’,
defined at overloadedrecfldswasrunnowfail06.hs:8:18
-overloadedrecfldswasrunnowfail06.hs:15:13: error:
+overloadedrecfldswasrunnowfail06.hs:15:13: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
@@ -29,7 +29,7 @@ overloadedrecfldswasrunnowfail06.hs:15:13: error:
or the field ‘x’ of record ‘U’,
defined at overloadedrecfldswasrunnowfail06.hs:8:18
-overloadedrecfldswasrunnowfail06.hs:21:20: error:
+overloadedrecfldswasrunnowfail06.hs:21:20: error: [GHC-87543]
Ambiguous occurrence ‘x’
It could refer to
either the field ‘x’ of record ‘S’,
diff --git a/testsuite/tests/parser/should_compile/read014.stderr b/testsuite/tests/parser/should_compile/read014.stderr
index 88ba43d65d..3187d4d32a 100644
--- a/testsuite/tests/parser/should_compile/read014.stderr
+++ b/testsuite/tests/parser/should_compile/read014.stderr
@@ -3,7 +3,7 @@ read014.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)]
Top-level binding with no type signature:
ng1 :: Num a => p -> a -> a
-read014.hs:4:5: warning: [-Wunused-matches (in -Wextra)]
+read014.hs:4:5: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘x’
read014.hs:6:10: warning: [GHC-06201] [-Wmissing-methods (in -Wdefault)]
@@ -11,5 +11,5 @@ read014.hs:6:10: warning: [GHC-06201] [-Wmissing-methods (in -Wdefault)]
‘+’, ‘*’, ‘abs’, ‘signum’, and ‘fromInteger’
• In the instance declaration for ‘Num (a, b)’
-read014.hs:8:53: warning: [-Wunused-matches (in -Wextra)]
+read014.hs:8:53: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘x’
diff --git a/testsuite/tests/parser/should_fail/T12446.stderr b/testsuite/tests/parser/should_fail/T12446.stderr
index 99a6f65e0b..6ebcbd79cb 100644
--- a/testsuite/tests/parser/should_fail/T12446.stderr
+++ b/testsuite/tests/parser/should_fail/T12446.stderr
@@ -1,4 +1,4 @@
-T12446.hs:4:5: error:
+T12446.hs:4:5: error: [GHC-23482]
Illegal visible type application ‘@(_ ~ _)’
- Perhaps you intended to use TypeApplications
+ Suggested fix: Perhaps you intended to use TypeApplications
diff --git a/testsuite/tests/parser/should_fail/T18251c.stderr b/testsuite/tests/parser/should_fail/T18251c.stderr
index b4f667d5dd..ab6c5296d3 100644
--- a/testsuite/tests/parser/should_fail/T18251c.stderr
+++ b/testsuite/tests/parser/should_fail/T18251c.stderr
@@ -1,4 +1,4 @@
-T18251c.hs:4:5: error:
+T18251c.hs:4:5: error: [GHC-23482]
Illegal visible type application ‘@Int’
- Perhaps you intended to use TypeApplications
+ Suggested fix: Perhaps you intended to use TypeApplications
diff --git a/testsuite/tests/patsyn/should_fail/T14114.stderr b/testsuite/tests/patsyn/should_fail/T14114.stderr
index a93b51e8f4..5b08c9b939 100644
--- a/testsuite/tests/patsyn/should_fail/T14114.stderr
+++ b/testsuite/tests/patsyn/should_fail/T14114.stderr
@@ -1,17 +1,17 @@
-T14114.hs:4:20: error:
+T14114.hs:4:20: error: [GHC-10498]
• Conflicting definitions for ‘a’
Bound at: T14114.hs:4:20
T14114.hs:4:22
• In a pattern synonym declaration
-T14114.hs:5:20: error:
+T14114.hs:5:20: error: [GHC-10498]
• Conflicting definitions for ‘a’
Bound at: T14114.hs:5:20
T14114.hs:5:22
• In a pattern synonym declaration
-T14114.hs:6:20: error:
+T14114.hs:6:20: error: [GHC-10498]
• Conflicting definitions for ‘a’
Bound at: T14114.hs:6:20
T14114.hs:6:22
diff --git a/testsuite/tests/polykinds/T10451.stderr b/testsuite/tests/polykinds/T10451.stderr
index b8c17be28d..4c8835e48e 100644
--- a/testsuite/tests/polykinds/T10451.stderr
+++ b/testsuite/tests/polykinds/T10451.stderr
@@ -1,5 +1,5 @@
-T10451.hs:22:12: error:
+T10451.hs:22:12: error: [GHC-89347]
• Constraint tuple arity too large: 66 (max arity = 64)
Instead, use a nested tuple
• In the type ‘(Eq a, Eq a, Eq a, Eq a, Eq a, Eq a, Eq a, Eq a,
diff --git a/testsuite/tests/quasiquotation/qq006/qq006.stderr b/testsuite/tests/quasiquotation/qq006/qq006.stderr
index 3fd0d019e3..c3a231705d 100644
--- a/testsuite/tests/quasiquotation/qq006/qq006.stderr
+++ b/testsuite/tests/quasiquotation/qq006/qq006.stderr
@@ -1,5 +1,5 @@
-Main.hs:8:20: error:
+Main.hs:8:20: error: [GHC-10498]
• Conflicting definitions for ‘x’
Bound at: Main.hs:8:20-28
Main.hs:8:20-28
diff --git a/testsuite/tests/rename/should_compile/T13839.stdout b/testsuite/tests/rename/should_compile/T13839.stdout
index a700b1441c..0752cb6286 100644
--- a/testsuite/tests/rename/should_compile/T13839.stdout
+++ b/testsuite/tests/rename/should_compile/T13839.stdout
@@ -1,5 +1,5 @@
-T13839a.hs:10:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T13839a.hs:10:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘nonUsed’
nonUsed :: ()
nonUsed :: ()
diff --git a/testsuite/tests/rename/should_compile/T13839a.stderr b/testsuite/tests/rename/should_compile/T13839a.stderr
index 84b987364a..6a5348c28d 100644
--- a/testsuite/tests/rename/should_compile/T13839a.stderr
+++ b/testsuite/tests/rename/should_compile/T13839a.stderr
@@ -1,3 +1,3 @@
-T13839a.hs:10:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T13839a.hs:10:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘nonUsed’
diff --git a/testsuite/tests/rename/should_compile/T17a.stderr b/testsuite/tests/rename/should_compile/T17a.stderr
index 4e88e2e440..9503d1578a 100644
--- a/testsuite/tests/rename/should_compile/T17a.stderr
+++ b/testsuite/tests/rename/should_compile/T17a.stderr
@@ -1,3 +1,3 @@
-T17a.hs:8:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T17a.hs:8:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘top’
diff --git a/testsuite/tests/rename/should_compile/T17b.stderr b/testsuite/tests/rename/should_compile/T17b.stderr
index c94b869401..d78dc0bb53 100644
--- a/testsuite/tests/rename/should_compile/T17b.stderr
+++ b/testsuite/tests/rename/should_compile/T17b.stderr
@@ -1,3 +1,3 @@
-T17b.hs:17:12: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
+T17b.hs:17:12: warning: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘local’
diff --git a/testsuite/tests/rename/should_compile/T17d.stderr b/testsuite/tests/rename/should_compile/T17d.stderr
index 4fbc9ab8a2..1452d3dd1f 100644
--- a/testsuite/tests/rename/should_compile/T17d.stderr
+++ b/testsuite/tests/rename/should_compile/T17d.stderr
@@ -1,3 +1,3 @@
-T17d.hs:14:5: warning: [-Wunused-matches (in -Wextra)]
+T17d.hs:14:5: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘match’
diff --git a/testsuite/tests/rename/should_compile/T17e.stderr b/testsuite/tests/rename/should_compile/T17e.stderr
index 3e691426ea..9ec33c8464 100644
--- a/testsuite/tests/rename/should_compile/T17e.stderr
+++ b/testsuite/tests/rename/should_compile/T17e.stderr
@@ -1,9 +1,9 @@
-T17e.hs:8:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T17e.hs:8:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘top’
T17e.hs:11:11: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)]
This pattern-binding binds no variables: True = True
-T17e.hs:17:12: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
+T17e.hs:17:12: warning: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘local’
diff --git a/testsuite/tests/rename/should_compile/T1972.stderr b/testsuite/tests/rename/should_compile/T1972.stderr
index d3d92a213a..f2f183d2a7 100644
--- a/testsuite/tests/rename/should_compile/T1972.stderr
+++ b/testsuite/tests/rename/should_compile/T1972.stderr
@@ -9,5 +9,5 @@ T1972.hs:15:3: warning: [GHC-63397] [-Wname-shadowing (in -Wall)]
(and originally defined in ‘Data.Traversable’)
defined at T1972.hs:17:1
-T1972.hs:21:10: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
+T1972.hs:21:10: warning: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘c’
diff --git a/testsuite/tests/rename/should_compile/T3371.stderr b/testsuite/tests/rename/should_compile/T3371.stderr
index b563291965..3ccdac6fbc 100644
--- a/testsuite/tests/rename/should_compile/T3371.stderr
+++ b/testsuite/tests/rename/should_compile/T3371.stderr
@@ -1,3 +1,3 @@
-T3371.hs:10:14: warning: [-Wunused-matches (in -Wextra)]
+T3371.hs:10:14: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘a’
diff --git a/testsuite/tests/rename/should_compile/T3449.stderr b/testsuite/tests/rename/should_compile/T3449.stderr
index afc8d92515..a53e01af2d 100644
--- a/testsuite/tests/rename/should_compile/T3449.stderr
+++ b/testsuite/tests/rename/should_compile/T3449.stderr
@@ -1,3 +1,3 @@
-T3449.hs-boot:8:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T3449.hs-boot:8:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘unused’
diff --git a/testsuite/tests/rename/should_compile/T7145b.stderr b/testsuite/tests/rename/should_compile/T7145b.stderr
index 013d93174d..4d68c95387 100644
--- a/testsuite/tests/rename/should_compile/T7145b.stderr
+++ b/testsuite/tests/rename/should_compile/T7145b.stderr
@@ -1,3 +1,3 @@
-T7145b.hs:7:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T7145b.hs:7:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘pure’
diff --git a/testsuite/tests/rename/should_compile/mc10.stderr b/testsuite/tests/rename/should_compile/mc10.stderr
index 285bd34aeb..f70a1571c1 100644
--- a/testsuite/tests/rename/should_compile/mc10.stderr
+++ b/testsuite/tests/rename/should_compile/mc10.stderr
@@ -1,3 +1,3 @@
-mc10.hs:14:11: warning: [-Wunused-matches (in -Wextra)]
+mc10.hs:14:11: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘y’
diff --git a/testsuite/tests/rename/should_compile/rn040.stderr b/testsuite/tests/rename/should_compile/rn040.stderr
index 01d6a10e16..735ad91edd 100644
--- a/testsuite/tests/rename/should_compile/rn040.stderr
+++ b/testsuite/tests/rename/should_compile/rn040.stderr
@@ -1,6 +1,6 @@
-rn040.hs:6:12: warning: [-Wunused-matches (in -Wextra)]
+rn040.hs:6:12: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘y’
-rn040.hs:8:8: warning: [-Wunused-matches (in -Wextra)]
+rn040.hs:8:8: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘w’
diff --git a/testsuite/tests/rename/should_compile/rn041.stderr b/testsuite/tests/rename/should_compile/rn041.stderr
index 559da82a98..bc0817b451 100644
--- a/testsuite/tests/rename/should_compile/rn041.stderr
+++ b/testsuite/tests/rename/should_compile/rn041.stderr
@@ -1,9 +1,9 @@
-rn041.hs:7:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+rn041.hs:7:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘f’
-rn041.hs:9:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+rn041.hs:9:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘g’
-rn041.hs:10:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+rn041.hs:10:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘h’
diff --git a/testsuite/tests/rename/should_compile/rn047.stderr b/testsuite/tests/rename/should_compile/rn047.stderr
index 17f59a1c24..9c733ed027 100644
--- a/testsuite/tests/rename/should_compile/rn047.stderr
+++ b/testsuite/tests/rename/should_compile/rn047.stderr
@@ -1,3 +1,3 @@
-rn047.hs:12:11: warning: [-Wunused-matches (in -Wextra)]
+rn047.hs:12:11: warning: [GHC-40910] [-Wunused-matches (in -Wextra)]
Defined but not used: ‘y’
diff --git a/testsuite/tests/rename/should_compile/rn063.stderr b/testsuite/tests/rename/should_compile/rn063.stderr
index ff4d409b36..a0bb647c36 100644
--- a/testsuite/tests/rename/should_compile/rn063.stderr
+++ b/testsuite/tests/rename/should_compile/rn063.stderr
@@ -1,6 +1,6 @@
-rn063.hs:10:9: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
+rn063.hs:10:9: warning: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘x’
-rn063.hs:13:9: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
+rn063.hs:13:9: warning: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘y’
diff --git a/testsuite/tests/rename/should_compile/unused_haddock.stderr b/testsuite/tests/rename/should_compile/unused_haddock.stderr
index b705fed36b..0b25f06381 100644
--- a/testsuite/tests/rename/should_compile/unused_haddock.stderr
+++ b/testsuite/tests/rename/should_compile/unused_haddock.stderr
@@ -1,3 +1,3 @@
-unused_haddock.hs:4:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+unused_haddock.hs:4:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘foo’
diff --git a/testsuite/tests/rename/should_fail/T11167_ambig.stderr b/testsuite/tests/rename/should_fail/T11167_ambig.stderr
index 74c7064414..f23a644772 100644
--- a/testsuite/tests/rename/should_fail/T11167_ambig.stderr
+++ b/testsuite/tests/rename/should_fail/T11167_ambig.stderr
@@ -1,5 +1,5 @@
-T11167_ambig.hs:10:13: error:
+T11167_ambig.hs:10:13: error: [GHC-87543]
Ambiguous occurrence ‘runContT’
It could refer to
either the field ‘runContT’ of record ‘ContT’,
@@ -7,7 +7,7 @@ T11167_ambig.hs:10:13: error:
or the field ‘runContT’ of record ‘ContT'’,
defined at T11167_ambig.hs:7:32
-T11167_ambig.hs:17:9: error:
+T11167_ambig.hs:17:9: error: [GHC-87543]
Ambiguous occurrence ‘runContT’
It could refer to
either the field ‘runContT’ of record ‘ContT’,
diff --git a/testsuite/tests/rename/should_fail/T13644.stderr b/testsuite/tests/rename/should_fail/T13644.stderr
index 8443993fd1..64f9abac00 100644
--- a/testsuite/tests/rename/should_fail/T13644.stderr
+++ b/testsuite/tests/rename/should_fail/T13644.stderr
@@ -1,5 +1,5 @@
-T13644.hs:6:24: error:
+T13644.hs:6:24: error: [GHC-53822]
• Constructor ‘FuncId’ does not have field ‘name’
• In the pattern: FuncId {name = nm}
In an equation for ‘baseENDECfuncs’:
diff --git a/testsuite/tests/rename/should_fail/T13847.stderr b/testsuite/tests/rename/should_fail/T13847.stderr
index 52edbf5acf..8d8dff5f8a 100644
--- a/testsuite/tests/rename/should_fail/T13847.stderr
+++ b/testsuite/tests/rename/should_fail/T13847.stderr
@@ -1,5 +1,5 @@
-T13847.hs:4:24: error:
+T13847.hs:4:24: error: [GHC-53822]
• Constructor ‘A.A’ does not have field ‘foo’
• In the second argument of ‘($)’, namely ‘A.A {foo = ()}’
In the second argument of ‘($)’, namely ‘A.foo $ A.A {foo = ()}’
diff --git a/testsuite/tests/rename/should_fail/T15487.stderr b/testsuite/tests/rename/should_fail/T15487.stderr
index bb25939f4b..a02cbe40c2 100644
--- a/testsuite/tests/rename/should_fail/T15487.stderr
+++ b/testsuite/tests/rename/should_fail/T15487.stderr
@@ -1,5 +1,5 @@
-T15487.hs:7:9: error:
+T15487.hs:7:9: error: [GHC-87543]
Ambiguous occurrence ‘null’
It could refer to
either ‘Prelude.null’,
diff --git a/testsuite/tests/rename/should_fail/T15957_Fail.stderr b/testsuite/tests/rename/should_fail/T15957_Fail.stderr
index 4032c32814..71d9b47036 100644
--- a/testsuite/tests/rename/should_fail/T15957_Fail.stderr
+++ b/testsuite/tests/rename/should_fail/T15957_Fail.stderr
@@ -1,36 +1,36 @@
-T15957_Fail.hs:7:6: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
+T15957_Fail.hs:7:6: error: [GHC-83475] [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
No variables bound in the record wildcard match are used
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:8:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
+T15957_Fail.hs:8:9: error: [GHC-83475] [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
No variables bound in the record wildcard match are used
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:9:12: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards]
+T15957_Fail.hs:9:12: error: [GHC-15932] [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards]
Record wildcard does not bind any new variables
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:11:11: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
+T15957_Fail.hs:11:11: error: [GHC-83475] [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
No variables bound in the record wildcard match are used
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:12:16: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards]
+T15957_Fail.hs:12:16: error: [GHC-15932] [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards]
Record wildcard does not bind any new variables
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:13:15: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards]
+T15957_Fail.hs:13:15: error: [GHC-15932] [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards]
Record wildcard does not bind any new variables
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:20:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
+T15957_Fail.hs:20:9: error: [GHC-83475] [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
No variables bound in the record wildcard match are used
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:25:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
+T15957_Fail.hs:25:9: error: [GHC-83475] [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
No variables bound in the record wildcard match are used
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
-T15957_Fail.hs:31:18: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
+T15957_Fail.hs:31:18: error: [GHC-83475] [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards]
No variables bound in the record wildcard match are used
- Possible fix: omit the ‘..’
+ Suggested fix: Omit the ‘..’
diff --git a/testsuite/tests/rename/should_fail/T16114.stderr b/testsuite/tests/rename/should_fail/T16114.stderr
index adbaffc0ef..8ed4db8192 100644
--- a/testsuite/tests/rename/should_fail/T16114.stderr
+++ b/testsuite/tests/rename/should_fail/T16114.stderr
@@ -1,4 +1,4 @@
-T16114.hs:4:18: error:
+T16114.hs:4:18: error: [GHC-71492]
Instance head cannot contain nested ‘forall’s or contexts
In an instance declaration
diff --git a/testsuite/tests/rename/should_fail/T18240a.stderr b/testsuite/tests/rename/should_fail/T18240a.stderr
index 165ede31c6..09132691fd 100644
--- a/testsuite/tests/rename/should_fail/T18240a.stderr
+++ b/testsuite/tests/rename/should_fail/T18240a.stderr
@@ -1,30 +1,30 @@
-T18240a.hs:11:11: error:
+T18240a.hs:11:11: error: [GHC-71492]
• Instance head cannot contain nested ‘forall’s or contexts
• In an instance declaration
T18240a.hs:12:15: error: [GHC-76037]
Not in scope: type variable ‘a’
-T18240a.hs:14:11: error:
+T18240a.hs:14:11: error: [GHC-71492]
• Instance head cannot contain nested ‘forall’s or contexts
• In an instance declaration
-T18240a.hs:17:11: error:
+T18240a.hs:17:11: error: [GHC-71492]
• Instance head cannot contain nested ‘forall’s or contexts
• In an instance declaration
T18240a.hs:18:22: error: [GHC-76037]
Not in scope: type variable ‘a’
-T18240a.hs:20:21: error:
+T18240a.hs:20:21: error: [GHC-71492]
• Instance head cannot contain nested ‘forall’s or contexts
• In an instance declaration
T18240a.hs:21:24: error: [GHC-76037]
Not in scope: type variable ‘b’
-T18240a.hs:23:19: error:
+T18240a.hs:23:19: error: [GHC-71492]
• Instance head cannot contain nested ‘forall’s or contexts
• In an instance declaration
diff --git a/testsuite/tests/rename/should_fail/T18240b.stderr b/testsuite/tests/rename/should_fail/T18240b.stderr
index 330e5cc72f..062f0b2343 100644
--- a/testsuite/tests/rename/should_fail/T18240b.stderr
+++ b/testsuite/tests/rename/should_fail/T18240b.stderr
@@ -1,24 +1,24 @@
-T18240b.hs:17:15: error:
+T18240b.hs:17:15: error: [GHC-71492]
‘via’ type cannot contain nested ‘forall’s or contexts
In a deriving declaration
-T18240b.hs:18:24: error:
+T18240b.hs:18:24: error: [GHC-71492]
‘via’ type cannot contain nested ‘forall’s or contexts
In a deriving declaration
-T18240b.hs:19:25: error:
+T18240b.hs:19:25: error: [GHC-71492]
‘via’ type cannot contain nested ‘forall’s or contexts
In a deriving declaration
-T18240b.hs:26:24: error:
+T18240b.hs:26:24: error: [GHC-71492]
Derived class type cannot contain nested ‘forall’s or contexts
In the data type declaration for ‘Bar’
-T18240b.hs:27:33: error:
+T18240b.hs:27:33: error: [GHC-71492]
Derived class type cannot contain nested ‘forall’s or contexts
In the data type declaration for ‘Bar’
-T18240b.hs:28:34: error:
+T18240b.hs:28:34: error: [GHC-71492]
Derived class type cannot contain nested ‘forall’s or contexts
In the data type declaration for ‘Bar’
diff --git a/testsuite/tests/rename/should_fail/T5951.stderr b/testsuite/tests/rename/should_fail/T5951.stderr
index f98fb501ed..19d849c8f7 100644
--- a/testsuite/tests/rename/should_fail/T5951.stderr
+++ b/testsuite/tests/rename/should_fail/T5951.stderr
@@ -1,4 +1,4 @@
-T5951.hs:9:8: error:
+T5951.hs:9:8: error: [GHC-71492]
Instance head cannot contain nested ‘forall’s or contexts
In an instance declaration
diff --git a/testsuite/tests/rename/should_fail/T6148a.stderr b/testsuite/tests/rename/should_fail/T6148a.stderr
index e287636d4d..6160fbf3df 100644
--- a/testsuite/tests/rename/should_fail/T6148a.stderr
+++ b/testsuite/tests/rename/should_fail/T6148a.stderr
@@ -1,5 +1,5 @@
-T6148a.hs:3:5: error:
+T6148a.hs:3:5: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
diff --git a/testsuite/tests/rename/should_fail/T6148b.stderr b/testsuite/tests/rename/should_fail/T6148b.stderr
index 3c5afcd085..29d79e8179 100644
--- a/testsuite/tests/rename/should_fail/T6148b.stderr
+++ b/testsuite/tests/rename/should_fail/T6148b.stderr
@@ -1,5 +1,5 @@
-T6148b.hs:3:5: error:
+T6148b.hs:3:5: error: [GHC-94803]
A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
diff --git a/testsuite/tests/rename/should_fail/T6148c.stderr b/testsuite/tests/rename/should_fail/T6148c.stderr
index a11d23ccac..8a2bad5559 100644
--- a/testsuite/tests/rename/should_fail/T6148c.stderr
+++ b/testsuite/tests/rename/should_fail/T6148c.stderr
@@ -1,5 +1,5 @@
-T6148c.hs:5:6: error:
+T6148c.hs:5:6: error: [GHC-94803]
A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
diff --git a/testsuite/tests/rename/should_fail/T6148d.stderr b/testsuite/tests/rename/should_fail/T6148d.stderr
index 774c96e540..f7f132bf28 100644
--- a/testsuite/tests/rename/should_fail/T6148d.stderr
+++ b/testsuite/tests/rename/should_fail/T6148d.stderr
@@ -1,26 +1,26 @@
-T6148d.hs:5:6: error:
+T6148d.hs:5:6: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
• In the Template Haskell quotation
''(,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)
-T6148d.hs:6:6: error:
+T6148d.hs:6:6: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
• In the Template Haskell quotation
'(,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)
-T6148d.hs:7:6: error:
+T6148d.hs:7:6: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
• In the Template Haskell quotation
''(#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#)
-T6148d.hs:8:6: error:
+T6148d.hs:8:6: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
diff --git a/testsuite/tests/rename/should_fail/T8448.stderr b/testsuite/tests/rename/should_fail/T8448.stderr
index 1b3ee56f47..1201817853 100644
--- a/testsuite/tests/rename/should_fail/T8448.stderr
+++ b/testsuite/tests/rename/should_fail/T8448.stderr
@@ -1,2 +1,3 @@
-T8448.hs:5:21: error: Constructor ‘[]’ does not have field ‘r’
+T8448.hs:5:21: error: [GHC-53822]
+ Constructor ‘[]’ does not have field ‘r’
diff --git a/testsuite/tests/rename/should_fail/rnfail001.stderr b/testsuite/tests/rename/should_fail/rnfail001.stderr
index 3046ff10a1..a27ef00de3 100644
--- a/testsuite/tests/rename/should_fail/rnfail001.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail001.stderr
@@ -1,5 +1,5 @@
-rnfail001.hs:3:3:
+rnfail001.hs:3:3: [GHC-10498]
Conflicting definitions for ‘x’
Bound at: rnfail001.hs:3:3
rnfail001.hs:3:5
diff --git a/testsuite/tests/rename/should_fail/rnfail004.stderr b/testsuite/tests/rename/should_fail/rnfail004.stderr
index 6e9a61f6ea..93322679a5 100644
--- a/testsuite/tests/rename/should_fail/rnfail004.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail004.stderr
@@ -1,10 +1,10 @@
-rnfail004.hs:6:5:
+rnfail004.hs:6:5: [GHC-10498]
Conflicting definitions for ‘a’
Bound at: rnfail004.hs:6:5
rnfail004.hs:7:10
-rnfail004.hs:7:6:
+rnfail004.hs:7:6: [GHC-10498]
Conflicting definitions for ‘b’
Bound at: rnfail004.hs:7:6
rnfail004.hs:8:8
diff --git a/testsuite/tests/rename/should_fail/rnfail021.stderr b/testsuite/tests/rename/should_fail/rnfail021.stderr
index 1cf26eca36..5cb2e4ac13 100644
--- a/testsuite/tests/rename/should_fail/rnfail021.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail021.stderr
@@ -1,2 +1,2 @@
-rnfail021.hs:5:2: Qualified name in binding position: Baz.f
+rnfail021.hs:5:2: [GHC-28329] Qualified name in binding position: Baz.f
diff --git a/testsuite/tests/rename/should_fail/rnfail034.stderr b/testsuite/tests/rename/should_fail/rnfail034.stderr
index f385539f79..4c7113f20c 100644
--- a/testsuite/tests/rename/should_fail/rnfail034.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail034.stderr
@@ -1,5 +1,5 @@
-rnfail034.hs:4:11: error: Qualified name in binding position: M.y
+rnfail034.hs:4:11: error: [GHC-28329] Qualified name in binding position: M.y
rnfail034.hs:4:26: error: [GHC-76037]
Not in scope: ‘M.y’
diff --git a/testsuite/tests/rename/should_fail/rnfail039.stderr b/testsuite/tests/rename/should_fail/rnfail039.stderr
index 6283dccd33..31001fccab 100644
--- a/testsuite/tests/rename/should_fail/rnfail039.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail039.stderr
@@ -1,2 +1,2 @@
-rnfail039.hs:11:15: Qualified name in binding position: P.==
+rnfail039.hs:11:15: [GHC-28329] Qualified name in binding position: P.==
diff --git a/testsuite/tests/rename/should_fail/rnfail044.stderr b/testsuite/tests/rename/should_fail/rnfail044.stderr
index 39f7b77056..795cee0dfa 100644
--- a/testsuite/tests/rename/should_fail/rnfail044.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail044.stderr
@@ -1,5 +1,5 @@
-rnfail044.hs:5:12: error:
+rnfail044.hs:5:12: error: [GHC-87543]
Ambiguous occurrence ‘splitAt’
It could refer to
either ‘Prelude.splitAt’,
diff --git a/testsuite/tests/rename/should_fail/rnfail046.stderr b/testsuite/tests/rename/should_fail/rnfail046.stderr
index 49cfe356f4..b298acc610 100644
--- a/testsuite/tests/rename/should_fail/rnfail046.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail046.stderr
@@ -1,2 +1,2 @@
-rnfail046.hs:4:13: Qualified name in binding position: Map.Map
+rnfail046.hs:4:13: [GHC-28329] Qualified name in binding position: Map.Map
diff --git a/testsuite/tests/runghc/T17171b.stderr b/testsuite/tests/runghc/T17171b.stderr
index 088a4eca00..78095c52bf 100644
--- a/testsuite/tests/runghc/T17171b.stderr
+++ b/testsuite/tests/runghc/T17171b.stderr
@@ -1,5 +1,5 @@
-T17171b.hs:4:1: warning: [-Wunused-top-binds]
+T17171b.hs:4:1: warning: [GHC-40910] [-Wunused-top-binds]
Defined but not used: ‘main’
|
4 | main = putStrLn "NoMain"
diff --git a/testsuite/tests/th/T12411.stderr b/testsuite/tests/th/T12411.stderr
index be5f843ee2..4f1f9861a9 100644
--- a/testsuite/tests/th/T12411.stderr
+++ b/testsuite/tests/th/T12411.stderr
@@ -1,7 +1,7 @@
-T12411.hs:5:1: error:
+T12411.hs:5:1: error: [GHC-23482]
Illegal visible type application ‘@Q’
- Perhaps you intended to use TypeApplications
+ Suggested fix: Perhaps you intended to use TypeApplications
T12411.hs:5:7: error: [GHC-76037]
Not in scope: type constructor or class ‘Q’
diff --git a/testsuite/tests/th/T16133.stderr b/testsuite/tests/th/T16133.stderr
index 840f9f066f..f9e0e5326b 100644
--- a/testsuite/tests/th/T16133.stderr
+++ b/testsuite/tests/th/T16133.stderr
@@ -1,8 +1,8 @@
-T16133.hs:11:2: error:
+T16133.hs:11:2: error: [GHC-23482]
Illegal visible type application ‘@Int’
- Perhaps you intended to use TypeApplications
+ Suggested fix: Perhaps you intended to use TypeApplications
-T16133.hs:11:2: error:
+T16133.hs:11:2: error: [GHC-23482]
Illegal visible kind application ‘@Type’
- Perhaps you intended to use TypeApplications
+ Suggested fix: Perhaps you intended to use TypeApplications
diff --git a/testsuite/tests/th/TH_recover_warns.stderr b/testsuite/tests/th/TH_recover_warns.stderr
index 848f1b1380..a9a7c39a65 100644
--- a/testsuite/tests/th/TH_recover_warns.stderr
+++ b/testsuite/tests/th/TH_recover_warns.stderr
@@ -4,10 +4,10 @@ TH_recover_warns.hs:(9,18)-(10,64): Splicing expression
======>
let x = "a" in let x = "b" in x
-TH_recover_warns.hs:9:18: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
+TH_recover_warns.hs:9:18: warning: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘x’
-TH_recover_warns.hs:10:34: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
+TH_recover_warns.hs:10:34: warning: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘x’
TH_recover_warns.hs:10:49: warning: [GHC-63397] [-Wname-shadowing (in -Wall)]
diff --git a/testsuite/tests/th/TH_spliceD1.stderr b/testsuite/tests/th/TH_spliceD1.stderr
index 77ae873562..041f573a4b 100644
--- a/testsuite/tests/th/TH_spliceD1.stderr
+++ b/testsuite/tests/th/TH_spliceD1.stderr
@@ -1,5 +1,5 @@
-TH_spliceD1.hs:10:2: error:
+TH_spliceD1.hs:10:2: error: [GHC-10498]
• Conflicting definitions for ‘c’
Bound at: TH_spliceD1.hs:10:2-6
TH_spliceD1.hs:10:2-6
diff --git a/testsuite/tests/typecheck/should_compile/T18470.stderr b/testsuite/tests/typecheck/should_compile/T18470.stderr
index ffefb020d3..7d43e3c1c1 100644
--- a/testsuite/tests/typecheck/should_compile/T18470.stderr
+++ b/testsuite/tests/typecheck/should_compile/T18470.stderr
@@ -1,3 +1,3 @@
-T18470.hs:6:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T18470.hs:6:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: type constructor or class ‘Closed’
diff --git a/testsuite/tests/typecheck/should_compile/T2497.stderr b/testsuite/tests/typecheck/should_compile/T2497.stderr
index 581008128b..43ed0fa72f 100644
--- a/testsuite/tests/typecheck/should_compile/T2497.stderr
+++ b/testsuite/tests/typecheck/should_compile/T2497.stderr
@@ -1,3 +1,3 @@
-T2497.hs:22:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
+T2497.hs:22:1: warning: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘beq’
diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity5.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity5.stderr
index c8fa860a57..270a1561c6 100644
--- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity5.stderr
+++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity5.stderr
@@ -1,4 +1,4 @@
-ExplicitSpecificity5.hs:7:1: error:
+ExplicitSpecificity5.hs:7:1: error: [GHC-54832]
Inferred type variables are not allowed
In an instance declaration
diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity6.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity6.stderr
index 326c9b2ae9..db62abcb4b 100644
--- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity6.stderr
+++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity6.stderr
@@ -1,8 +1,8 @@
-ExplicitSpecificity6.hs:8:1: error:
+ExplicitSpecificity6.hs:8:1: error: [GHC-54832]
Inferred type variables are not allowed
In an instance declaration
-ExplicitSpecificity6.hs:9:3: error:
+ExplicitSpecificity6.hs:9:3: error: [GHC-54832]
Inferred type variables are not allowed
In a SPECIALISE instance pragma
diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity9.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity9.stderr
index 59bb56cf66..d61d6eeef0 100644
--- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity9.stderr
+++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity9.stderr
@@ -1,4 +1,4 @@
-ExplicitSpecificity9.hs:6:1: error:
+ExplicitSpecificity9.hs:6:1: error: [GHC-54832]
Inferred type variables are not allowed
In a deriving declaration
diff --git a/testsuite/tests/typecheck/should_fail/T15527.stderr b/testsuite/tests/typecheck/should_fail/T15527.stderr
index 6729c26bd5..a71f82583a 100644
--- a/testsuite/tests/typecheck/should_fail/T15527.stderr
+++ b/testsuite/tests/typecheck/should_fail/T15527.stderr
@@ -1,4 +1,4 @@
-T15527.hs:5:6: error:
+T15527.hs:5:6: error: [GHC-23482]
Illegal visible type application ‘@Int’
- Perhaps you intended to use TypeApplications
+ Suggested fix: Perhaps you intended to use TypeApplications
diff --git a/testsuite/tests/typecheck/should_fail/T16394.stderr b/testsuite/tests/typecheck/should_fail/T16394.stderr
index 74e5c25ef5..af8384ccfe 100644
--- a/testsuite/tests/typecheck/should_fail/T16394.stderr
+++ b/testsuite/tests/typecheck/should_fail/T16394.stderr
@@ -1,4 +1,4 @@
-T16394.hs:6:17: error:
+T16394.hs:6:17: error: [GHC-71492]
Instance head cannot contain nested ‘forall’s or contexts
In an instance declaration
diff --git a/testsuite/tests/typecheck/should_fail/T18455.stderr b/testsuite/tests/typecheck/should_fail/T18455.stderr
index 15d02d1902..909388c0cc 100644
--- a/testsuite/tests/typecheck/should_fail/T18455.stderr
+++ b/testsuite/tests/typecheck/should_fail/T18455.stderr
@@ -1,4 +1,4 @@
-T18455.hs:7:37: error:
+T18455.hs:7:37: error: [GHC-71492]
SPECIALISE instance type cannot contain nested ‘forall’s or contexts
In a SPECIALISE instance pragma
diff --git a/testsuite/tests/typecheck/should_fail/T18723a.stderr b/testsuite/tests/typecheck/should_fail/T18723a.stderr
index cb599b3737..4a46a5b84d 100644
--- a/testsuite/tests/typecheck/should_fail/T18723a.stderr
+++ b/testsuite/tests/typecheck/should_fail/T18723a.stderr
@@ -1,5 +1,5 @@
-T18723a.hs:4:3: error:
+T18723a.hs:4:3: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
diff --git a/testsuite/tests/typecheck/should_fail/T18723b.stderr b/testsuite/tests/typecheck/should_fail/T18723b.stderr
index f0f8936b5d..0b0f62743e 100644
--- a/testsuite/tests/typecheck/should_fail/T18723b.stderr
+++ b/testsuite/tests/typecheck/should_fail/T18723b.stderr
@@ -1,5 +1,5 @@
-T18723b.hs:7:2: error:
+T18723b.hs:7:2: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
diff --git a/testsuite/tests/typecheck/should_fail/T18723c.stderr b/testsuite/tests/typecheck/should_fail/T18723c.stderr
index d1245b7758..2b9fd76759 100644
--- a/testsuite/tests/typecheck/should_fail/T18723c.stderr
+++ b/testsuite/tests/typecheck/should_fail/T18723c.stderr
@@ -1,5 +1,5 @@
-T18723c.hs:5:2: error:
+T18723c.hs:5:2: error: [GHC-94803]
• A 65-tuple is too large for GHC
(max size is 64)
Workaround: use nested tuples or define a data type
diff --git a/testsuite/tests/typecheck/should_fail/T19397E1.stderr b/testsuite/tests/typecheck/should_fail/T19397E1.stderr
index 00c13f2eca..066b8f1da4 100644
--- a/testsuite/tests/typecheck/should_fail/T19397E1.stderr
+++ b/testsuite/tests/typecheck/should_fail/T19397E1.stderr
@@ -1,5 +1,5 @@
-T19397E1.hs:1:14: error:
+T19397E1.hs:1:14: error: [GHC-87543]
Ambiguous occurrence ‘main’
It could refer to
either ‘T19397S.main’,
diff --git a/testsuite/tests/typecheck/should_fail/T19397E2.stderr b/testsuite/tests/typecheck/should_fail/T19397E2.stderr
index 4fc5073310..a66e6170ca 100644
--- a/testsuite/tests/typecheck/should_fail/T19397E2.stderr
+++ b/testsuite/tests/typecheck/should_fail/T19397E2.stderr
@@ -1,5 +1,5 @@
-T19397E2.hs:1:1: error:
+T19397E2.hs:1:1: error: [GHC-87543]
Ambiguous occurrence ‘main’
It could refer to
either ‘T19397S.main’,
diff --git a/testsuite/tests/typecheck/should_fail/T8570.stderr b/testsuite/tests/typecheck/should_fail/T8570.stderr
index 183001b577..d8227507e5 100644
--- a/testsuite/tests/typecheck/should_fail/T8570.stderr
+++ b/testsuite/tests/typecheck/should_fail/T8570.stderr
@@ -1,5 +1,5 @@
-T8570.hs:6:18: error:
+T8570.hs:6:18: error: [GHC-53822]
• Constructor ‘Image’ does not have field ‘filepath’
• In the pattern: Image {filepath = x}
In a pattern binding: Image {filepath = x} = logo
diff --git a/testsuite/tests/typecheck/should_fail/tcfail037.stderr b/testsuite/tests/typecheck/should_fail/tcfail037.stderr
index efe7445573..60432d8626 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail037.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail037.stderr
@@ -1,5 +1,5 @@
-tcfail037.hs:7:11: error:
+tcfail037.hs:7:11: error: [GHC-87543]
Ambiguous occurrence ‘+’
It could refer to either ‘Prelude.+’,
imported from ‘Prelude’ at tcfail037.hs:3:8-17
diff --git a/testsuite/tests/typecheck/should_fail/tcfail038.stderr b/testsuite/tests/typecheck/should_fail/tcfail038.stderr
index 2d3e9e5bc9..72911531d8 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail038.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail038.stderr
@@ -1,10 +1,10 @@
-tcfail038.hs:7:11:
+tcfail038.hs:7:11: [GHC-10498]
Conflicting definitions for ‘==’
Bound at: tcfail038.hs:7:11-12
tcfail038.hs:9:11-12
-tcfail038.hs:8:11:
+tcfail038.hs:8:11: [GHC-10498]
Conflicting definitions for ‘/=’
Bound at: tcfail038.hs:8:11-12
tcfail038.hs:10:11-12
diff --git a/testsuite/tests/typecheck/should_fail/tcfail083.stderr b/testsuite/tests/typecheck/should_fail/tcfail083.stderr
index badd43909d..843fbc47c1 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail083.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail083.stderr
@@ -1,5 +1,5 @@
-tcfail083.hs:8:39:
+tcfail083.hs:8:39: [GHC-53822]
Constructor ‘Bar’ does not have field ‘baz’
In the pattern: Bar {flag = f, baz = b}
In the pattern: State {bar = Bar {flag = f, baz = b}}
diff --git a/testsuite/tests/typecheck/should_fail/tcfail084.stderr b/testsuite/tests/typecheck/should_fail/tcfail084.stderr
index df09cd91be..44ec1169b1 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail084.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail084.stderr
@@ -1,5 +1,5 @@
-tcfail084.hs:10:5:
+tcfail084.hs:10:5: [GHC-53822]
Constructor ‘F’ does not have field ‘y’
In the expression: F {y = 2}
In an equation for ‘z’: z = F {y = 2}
diff --git a/testsuite/tests/warnings/should_fail/WarningGroups.stderr b/testsuite/tests/warnings/should_fail/WarningGroups.stderr
index 8e9cedb07e..bebbf547a3 100644
--- a/testsuite/tests/warnings/should_fail/WarningGroups.stderr
+++ b/testsuite/tests/warnings/should_fail/WarningGroups.stderr
@@ -2,8 +2,8 @@
WarningGroups.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)]
Top-level binding with no type signature: unused :: ()
-WarningGroups.hs:4:1: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds]
+WarningGroups.hs:4:1: error: [GHC-40910] [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds]
Defined but not used: ‘unused’
-WarningGroups.hs:4:14: error: [-Wunused-local-binds (in -Wextra, -Wunused-binds), Werror=unused-local-binds]
+WarningGroups.hs:4:14: error: [GHC-40910] [-Wunused-local-binds (in -Wextra, -Wunused-binds), Werror=unused-local-binds]
Defined but not used: ‘useless’