summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/GHC/HsToCore/Errors/Ppr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/HsToCore/Errors/Ppr.hs b/compiler/GHC/HsToCore/Errors/Ppr.hs
index 4566460a0e..745f701d8f 100644
--- a/compiler/GHC/HsToCore/Errors/Ppr.hs
+++ b/compiler/GHC/HsToCore/Errors/Ppr.hs
@@ -86,7 +86,7 @@ instance Diagnostic DsMessage where
hang (text "Top-level" <+> text desc <+> text "aren't allowed:") 2 (ppr bind)
DsUselessSpecialiseForClassMethodSelector poly_id
-> mkSimpleDecorated $
- text "Ignoring useless SPECIALISE pragma for NOINLINE function:" <+> quotes (ppr poly_id)
+ text "Ignoring useless SPECIALISE pragma for class selector:" <+> quotes (ppr poly_id)
DsUselessSpecialiseForNoInlineFunction poly_id
-> mkSimpleDecorated $
text "Ignoring useless SPECIALISE pragma for NOINLINE function:" <+> quotes (ppr poly_id)