Update error message to mention -XPatternSignatures instead of -fglasgow-exts
[ghc-hetmet.git] / compiler / rename / RnPat.lhs
index c3dc8af..b20ec9d 100644 (file)
@@ -594,7 +594,7 @@ checkTupSize tup_size
 \r
 patSigErr ty\r
   =  (ptext SLIT("Illegal signature in pattern:") <+> ppr ty)\r
-       $$ nest 4 (ptext SLIT("Use -fglasgow-exts to permit it"))\r
+       $$ nest 4 (ptext SLIT("Use -XPatternSignatures to permit it"))\r
 \r
 dupFieldErr str dup\r
   = hsep [ptext SLIT("duplicate field name"), \r