X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Frename%2FRnPat.lhs;h=42a14873c735d8960e7f9f3fe647822f6669d926;hb=cae75f82226638691cfa1e85fc168f4b65ddce4d;hp=55155d7498a4f46ae13a11d3fe4925339080ac4c;hpb=ecdaf6bc29d23bd704df8c65442ee08032a585fc;p=ghc-hetmet.git diff --git a/compiler/rename/RnPat.lhs b/compiler/rename/RnPat.lhs index 55155d7..42a1487 100644 --- a/compiler/rename/RnPat.lhs +++ b/compiler/rename/RnPat.lhs @@ -447,7 +447,7 @@ badDotDot str = ptext (sLit "You cannot use `..' in record") <+> text str badPun :: Located RdrName -> SDoc badPun fld = vcat [ptext (sLit "Illegal use of punning for field") <+> quotes (ppr fld), - ptext (sLit "Use -XRecordPuns to permit this")] + ptext (sLit "Use -XNamedFieldPuns to permit this")] -- wrappers