aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Interface
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Interface')
-rw-r--r--src/Haddock/Interface/Rename.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs
index 3e4f6fbc..05bb2ccf 100644
--- a/src/Haddock/Interface/Rename.hs
+++ b/src/Haddock/Interface/Rename.hs
@@ -68,7 +68,7 @@ renameInterface renamingEnv warnings mod =
-- report things that we couldn't link to. Only do this for non-hidden
-- modules.
unless (OptHide `elem` ifaceOptions mod || null strings || not warnings) $
- tell ["Warning: " ++ show (ppr (ifaceMod mod) defaultUserStyle) ++
+ tell ["Warning: " ++ moduleString (ifaceMod mod) ++
": could not find link destinations for:\n"++
" " ++ concat (map (' ':) strings) ]