Use explicit language extensions & remove extension fields from base.cabal
[ghc-base.git] / GHC / Err.lhs
index 8c02f85..90142f4 100644 (file)
@@ -1,6 +1,7 @@
 \begin{code}
-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# LANGUAGE CPP, NoImplicitPrelude #-}
 {-# OPTIONS_HADDOCK hide #-}
+
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Err
@@ -34,7 +35,6 @@ module GHC.Err
 
 #ifndef __HADDOCK__
 import GHC.Types
-import GHC.IOBase
 import GHC.Exception
 #endif
 \end{code}