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.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/GHC/Types/Hint.hs b/compiler/GHC/Types/Hint.hs
index c715a8f05e..4ce8d04a9d 100644
--- a/compiler/GHC/Types/Hint.hs
+++ b/compiler/GHC/Types/Hint.hs
@@ -429,6 +429,11 @@ data GhcHint
| SuggestExplicitBidiPatSyn Name (LPat GhcRn) [LIdP GhcRn]
+ {-| Suggest enabling one of the SafeHaskell modes Safe, Unsafe or
+ Trustworthy.
+ -}
+ | SuggestSafeHaskell
+
-- | An 'InstantiationSuggestion' for a '.hsig' file. This is generated
-- by GHC in case of a 'DriverUnexpectedSignature' and suggests a way
-- to instantiate a particular signature, where the first argument is