diff --git a/ghc/lib/std/PrelErr.lhs b/ghc/lib/std/PrelErr.lhs
index 57b21590745900291d61d78d9dc951ac71e6e101..ee22bdab815878e1ab591de8b7676e21a9d4ba31 100644
--- a/ghc/lib/std/PrelErr.lhs
+++ b/ghc/lib/std/PrelErr.lhs
@@ -182,7 +182,7 @@ untangle coded message
   =  location
   ++ ": " 
   ++ message
-  ++ "\'" ++ details ++ "\'"
+  ++ details
   ++ "\n"
   where
     (location, details)