diff --git a/ghc/compiler/typecheck/TcInstDcls.lhs b/ghc/compiler/typecheck/TcInstDcls.lhs index f474005954c83b867a2517677fe78042c07dbbd3..9879fd39230c43d84de8fdaf6dca98df70b2998d 100644 --- a/ghc/compiler/typecheck/TcInstDcls.lhs +++ b/ghc/compiler/typecheck/TcInstDcls.lhs @@ -781,8 +781,8 @@ nonBoxedPrimCCallErr clas inst_ty sty invisibleDataConPrimCCallErr clas inst_ty sty = hang (hsep [(ppr sty inst_ty <> ptext SLIT("s constructors not visible when checking")), ppr sty clas, ptext SLIT("instance")]) - 4 (hsep [ptext SLIT("(Try either importing"), ppr sty inst_ty, - ptext SLIT("non-abstractly or compile using -fno-prune-tydecls ..)")]) + 4 (hsep [text "(Try either importing", ppr sty inst_ty, + text "non-abstractly or compile using -fno-prune-tydecls ..)"]) omittedMethodWarn sel_id clas sty = sep [ptext SLIT("Warning: no explicit method nor default method for") <+> ppr sty sel_id,