diff options
Diffstat (limited to 'compiler/main/ErrUtils.lhs-boot')
-rw-r--r-- | compiler/main/ErrUtils.lhs-boot | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/compiler/main/ErrUtils.lhs-boot b/compiler/main/ErrUtils.lhs-boot new file mode 100644 index 0000000000..77d6cfdb4a --- /dev/null +++ b/compiler/main/ErrUtils.lhs-boot @@ -0,0 +1,16 @@ +\begin{code} +module ErrUtils where + +import Outputable (SDoc) +import SrcLoc (SrcSpan) + +data Severity + = SevInfo + | SevWarning + | SevError + | SevFatal + +type Message = SDoc + +mkLocMessage :: SrcSpan -> Message -> Message +\end{code} |