aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2009-02-28 00:53:55 +0000
committerDavid Waern <david.waern@gmail.com>2009-02-28 00:53:55 +0000
commitde7b76e48fff5c85aca088663f239580233ce637 (patch)
tree9bd49b5f2d575c0295d5e177324f6945e29c0a0a
parent66d74f43a0c8721205f774c8789d44b7ac346555 (diff)
Do not show package name in warning message
-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) ]