<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "Menlo"), DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, -apple-system),BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px; font-family: var(--default-regular-font, -apple-system),BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<h3 style="margin-top: 20px; margin-bottom: 10px;">
Marge Bot pushed to branch master at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: bold;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/cad5c5760f6fe06057eb7ad9927b9c1e83417c1e">cad5c576</a></strong>
<div>
<span> by Andrei Borzenkov </span> <i> at 2023-03-06T17:07:33-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 0.875rem; color: #333238; position: relative; font-family: var(--default-mono-font, "Menlo"),"DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>Convert diagnostics in GHC.Rename.Module to proper TcRnMessage (#20115)

I've turned almost all occurrences of TcRnUnknownMessage in GHC.Rename.Module
module into a proper TcRnMessage.
Instead, these TcRnMessage messages were introduced:
  TcRnIllegalInstanceHeadDecl
  TcRnUnexpectedStandaloneDerivingDecl
  TcRnUnusedVariableInRuleDecl
  TcRnUnexpectedStandaloneKindSig
  TcRnIllegalRuleLhs
  TcRnBadAssocRhs
  TcRnDuplicateRoleAnnot
  TcRnDuplicateKindSig
  TcRnIllegalDerivStrategy
  TcRnIllegalMultipleDerivClauses
  TcRnNoDerivStratSpecified
  TcRnStupidThetaInGadt
  TcRnBadImplicitSplice
  TcRnShadowedTyVarNameInFamResult
  TcRnIncorrectTyVarOnLhsOfInjCond
  TcRnUnknownTyVarsOnRhsOfInjCond

Was introduced one helper type:
  RuleLhsErrReason
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#7dd1cd0f6f2164a14c83d9aa564dd32bc30e447a">
compiler/GHC/Rename/Module.hs
</a>
</li>
<li class="file-stats">
<a href="#1dd9c7a6bbc222c976a6ec1c4b772232ae60f7e5">
compiler/GHC/Tc/Errors/Ppr.hs
</a>
</li>
<li class="file-stats">
<a href="#cdba811872892f235fe7059df1a6c538fba60816">
compiler/GHC/Tc/Errors/Types.hs
</a>
</li>
<li class="file-stats">
<a href="#e2c828ee9e003df518a07b05beaa6971e5c62eb0">
compiler/GHC/Types/Error/Codes.hs
</a>
</li>
<li class="file-stats">
<a href="#f94a9927d2d8732b251739c3769c99f5c32a1bdf">
testsuite/tests/deriving/should_fail/T10598_fail4.stderr
</a>
</li>
<li class="file-stats">
<a href="#f8590594cfd56de01f0930d717a1ffa825dcc758">
testsuite/tests/deriving/should_fail/T10598_fail5.stderr
</a>
</li>
<li class="file-stats">
<a href="#9095069eef2484b0544209d4ff9181dab80e0d0c">
testsuite/tests/deriving/should_fail/deriving-via-fail3.stderr
</a>
</li>
<li class="file-stats">
<a href="#63b446b3563730709966b660a4997850dfad7476">
testsuite/tests/ghci/prog019/prog019.stderr
</a>
</li>
<li class="file-stats">
<a href="#968fad75542782ec7d0bc5327df1d083da29a79d">
testsuite/tests/ghci/scripts/T1914.stderr
</a>
</li>
<li class="file-stats">
<a href="#b8c10bb36091a2830d5f436f0b848b4ba187b8f1">
testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr
</a>
</li>
<li class="file-stats">
<a href="#bacc145923997b2b2742b6f728b9e7337b95d7e8">
testsuite/tests/ghci/scripts/T6106.stderr
</a>
</li>
<li class="file-stats">
<a href="#905edd9556ba05c7a7d1f0669bfca9828807ed32">
testsuite/tests/indexed-types/should_fail/T5515.stderr
</a>
</li>
<li class="file-stats">
<a href="#b63e9618517f0d9b41caa8adff37da787487a740">
testsuite/tests/parser/should_fail/T3811c.stderr
</a>
</li>
<li class="file-stats">
<a href="#3c2d2e698cec41f8cd53fa12a38d89e5ec69edde">
testsuite/tests/polykinds/T9574.stderr
</a>
</li>
<li class="file-stats">
<a href="#b51dd2b69ddc282cb6055f82f2715f9623c1638f">
testsuite/tests/rename/should_compile/T15798a.stderr
</a>
</li>
<li class="file-stats">
<a href="#06eb9f90df85018f4bf2ad13aed61c12549ac2d0">
testsuite/tests/rename/should_compile/T15798b.stderr
</a>
</li>
<li class="file-stats">
<a href="#41694065655ce84527f50cca735a358e08308d24">
testsuite/tests/rename/should_compile/T15798c.stderr
</a>
</li>
<li class="file-stats">
<a href="#8610be36b9da743b9a6d3ac0ef40bf4423afefe3">
testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr
</a>
</li>
<li class="file-stats">
<a href="#9b60d4e6c0c1924f4efc521f2a9369275ce51584">
<span class="new-file">
+
testsuite/tests/rename/should_fail/RnStupidThetaInGadt.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#54f51bc501973daf5a19442db2c46b80c1424bf8">
<span class="new-file">
+
testsuite/tests/rename/should_fail/RnStupidThetaInGadt.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#203852f9116f88609f8418350513b6accd3e73ef">
<span class="new-file">
+
testsuite/tests/rename/should_fail/RnUnexpectedStandaloneDeriving.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#5c12e7c91ac8c330b225533b4035b0a9b38979b1">
<span class="new-file">
+
testsuite/tests/rename/should_fail/RnUnexpectedStandaloneDeriving.stderr
</span>
</a>
</li>
<li class="file-stats">
<a href="#6978581c1180d1b8e5eaaa009d8a6b11c99a0d75">
testsuite/tests/rename/should_fail/T12146.stderr
</a>
</li>
<li class="file-stats">
<a href="#fc35530fccd47e92b0ce06a854abc34a832c60d6">
testsuite/tests/rename/should_fail/T15659.stderr
</a>
</li>
<li class="file-stats">
<a href="#7b3cdc7054f66b8e815fa60bc2558cb503bf972d">
testsuite/tests/rename/should_fail/T18021.stderr
</a>
</li>
<li class="file-stats">
<a href="#8f58862cfc9faa28ee4d3709d65dad5ed8deb04e">
testsuite/tests/rename/should_fail/T18240a.stderr
</a>
</li>
<li class="file-stats">
<a href="#f682311af2201977dd2a08c7e6ece024d034cd2e">
testsuite/tests/rename/should_fail/T4042.stderr
</a>
</li>
<li class="file-stats">
<a href="#18c4687c9ad81b7486d12e9e83216800b8b727b5">
testsuite/tests/rename/should_fail/T6018rnfail.stderr
</a>
</li>
<li class="file-stats">
<a href="#c2554d4efde41e6e193f728122336449d2cb5fc5">
testsuite/tests/rename/should_fail/all.T
</a>
</li>
<li class="file-stats">
<a href="#9388b0f96a8eafb7aa729067355c737901ba8356">
testsuite/tests/roles/should_fail/Roles8.stderr
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: 0.875rem;">
The diff was not included because it is too large.
</h5>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/commit/cad5c5760f6fe06057eb7ad9927b9c1e83417c1e">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.haskell.org">gitlab.haskell.org</a>. <a href="https://gitlab.haskell.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.haskell.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.haskell.org/ghc/ghc/-/commit/cad5c5760f6fe06057eb7ad9927b9c1e83417c1e"}}</script>


</p>
</div>
</body>
</html>