summaryrefslogtreecommitdiff
path: root/ghc/compiler/rename/Rename.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/rename/Rename.lhs')
-rw-r--r--ghc/compiler/rename/Rename.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/compiler/rename/Rename.lhs b/ghc/compiler/rename/Rename.lhs
index 87eb777eca..c30be13bbb 100644
--- a/ghc/compiler/rename/Rename.lhs
+++ b/ghc/compiler/rename/Rename.lhs
@@ -891,7 +891,7 @@ warnDeprec :: (Name, DeprecTxt) -> RnM d ()
warnDeprec (name, txt)
= pushSrcLocRn (getSrcLoc name) $
addWarnRn $
- sep [ text (occNameFlavour (nameOccName name)) <+> ppr name <+>
+ sep [ text (occNameFlavour (nameOccName name)) <+> quotes (ppr name) <+>
text "is deprecated:", nest 4 (ppr txt) ]