summaryrefslogtreecommitdiff
path: root/compiler/GHC/Utils/Error.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Utils/Error.hs-boot')
-rw-r--r--compiler/GHC/Utils/Error.hs-boot19
1 files changed, 0 insertions, 19 deletions
diff --git a/compiler/GHC/Utils/Error.hs-boot b/compiler/GHC/Utils/Error.hs-boot
index 20c6930fa5..a455e730f2 100644
--- a/compiler/GHC/Utils/Error.hs-boot
+++ b/compiler/GHC/Utils/Error.hs-boot
@@ -4,8 +4,6 @@ module GHC.Utils.Error where
import GHC.Prelude
import GHC.Utils.Outputable (SDoc, PprStyle )
-import GHC.Types.SrcLoc (SrcSpan)
-import GHC.Utils.Json
import {-# SOURCE #-} GHC.Driver.Session ( DynFlags )
type DumpAction = DynFlags -> PprStyle -> DumpOptions -> String
@@ -29,22 +27,5 @@ data DumpFormat
| FormatLLVM
| FormatText
-data Severity
- = SevOutput
- | SevFatal
- | SevInteractive
- | SevDump
- | SevInfo
- | SevWarning
- | SevError
-
-
-type MsgDoc = SDoc
-
-mkLocMessage :: Severity -> SrcSpan -> MsgDoc -> MsgDoc
-mkLocMessageAnn :: Maybe String -> Severity -> SrcSpan -> MsgDoc -> MsgDoc
-getCaretDiagnostic :: Severity -> SrcSpan -> IO MsgDoc
defaultDumpAction :: DumpAction
defaultTraceAction :: TraceAction
-
-instance ToJson Severity