summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/Hint.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Types/Hint.hs')
-rw-r--r--compiler/GHC/Types/Hint.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/GHC/Types/Hint.hs b/compiler/GHC/Types/Hint.hs
index cbdb8d5321..25b66c0283 100644
--- a/compiler/GHC/Types/Hint.hs
+++ b/compiler/GHC/Types/Hint.hs
@@ -393,11 +393,16 @@ data GhcHint
Test cases: ccfail004
-}
| SuggestImportingDataCon
-
{- Found a pragma in the body of a module, suggest
placing it in the header
-}
| SuggestPlacePragmaInHeader
+ {-| Suggest using pattern matching syntax for a non-bidirectional pattern synonym
+
+ Test cases: patsyn/should_fail/record-exquant
+ typecheck/should_fail/T3176
+ -}
+ | SuggestPatternMatchingSyntax
-- | An 'InstantiationSuggestion' for a '.hsig' file. This is generated
-- by GHC in case of a 'DriverUnexpectedSignature' and suggests a way