summaryrefslogtreecommitdiff
path: root/compiler/GHC/Iface/Rename.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Iface/Rename.hs')
-rw-r--r--compiler/GHC/Iface/Rename.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Iface/Rename.hs b/compiler/GHC/Iface/Rename.hs
index 18ad1a55ce..04b227c50e 100644
--- a/compiler/GHC/Iface/Rename.hs
+++ b/compiler/GHC/Iface/Rename.hs
@@ -76,7 +76,7 @@ failWithRn doc = do
-- TODO: maybe associate this with a source location?
let msg = mkPlainErrorMsgEnvelope noSrcSpan $
TcRnUnknownMessage $
- mkPlainError doc
+ mkPlainError noHints doc
writeTcRef errs_var (msg `addMessage` errs)
failM