summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Warnings.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Settings/Warnings.hs')
-rw-r--r--hadrian/src/Settings/Warnings.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/hadrian/src/Settings/Warnings.hs b/hadrian/src/Settings/Warnings.hs
index 29f9e3b968..5999822e71 100644
--- a/hadrian/src/Settings/Warnings.hs
+++ b/hadrian/src/Settings/Warnings.hs
@@ -31,7 +31,10 @@ ghcWarningsArgs = do
, package bytestring ? pure [ "-Wno-inline-rule-shadowing" ]
, package compiler ? pure [ "-Wcpp-undef" ]
, package directory ? pure [ "-Wno-unused-imports" ]
- , package ghc ? pure [ "-Wcpp-undef" ]
+ , package ghc ? pure [ "-Wcpp-undef"
+ , "-Wincomplete-uni-patterns"
+ , "-Wincomplete-record-updates"
+ ]
, package ghcPrim ? pure [ "-Wno-trustworthy-safe" ]
, package haddock ? pure [ "-Wno-unused-imports"
, "-Wno-deprecations" ]