diff options
Diffstat (limited to 'compiler/GHC/Types/Hint/Ppr.hs')
-rw-r--r-- | compiler/GHC/Types/Hint/Ppr.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Types/Hint/Ppr.hs b/compiler/GHC/Types/Hint/Ppr.hs index 9fd39e2a53..5ed31571b0 100644 --- a/compiler/GHC/Types/Hint/Ppr.hs +++ b/compiler/GHC/Types/Hint/Ppr.hs @@ -179,6 +179,8 @@ instance Outputable GhcHint where <+> pprQuotedList parents ImportSuggestion import_suggestion -> pprImportSuggestion import_suggestion + SuggestImportingDataCon + -> text "Import the data constructor to bring it into scope" perhapsAsPat :: SDoc perhapsAsPat = text "Perhaps you meant an as-pattern, which must not be surrounded by whitespace" |