summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Plugins.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Plugins.hs')
-rw-r--r--compiler/GHC/Driver/Plugins.hs20
1 files changed, 13 insertions, 7 deletions
diff --git a/compiler/GHC/Driver/Plugins.hs b/compiler/GHC/Driver/Plugins.hs
index 6d6a976856..3436cc34a6 100644
--- a/compiler/GHC/Driver/Plugins.hs
+++ b/compiler/GHC/Driver/Plugins.hs
@@ -49,20 +49,26 @@ module GHC.Driver.Plugins (
import GHC.Prelude
-import GHC.Core.Opt.Monad ( CoreToDo, CoreM )
-import qualified GHC.Tc.Types
-import GHC.Tc.Types ( TcGblEnv, IfM, TcM, tcg_rn_decls, tcg_rn_exports )
-import GHC.Tc.Errors.Hole.FitTypes ( HoleFitPluginR )
-import GHC.Hs
+import GHC.Driver.Env
import GHC.Driver.Session
-import GHC.Driver.Types
import GHC.Driver.Monad
import GHC.Driver.Phases
+
import GHC.Unit.Module
+import GHC.Unit.Module.ModIface
+import GHC.Unit.Module.ModSummary
+
+import qualified GHC.Tc.Types
+import GHC.Tc.Types ( TcGblEnv, IfM, TcM, tcg_rn_decls, tcg_rn_exports )
+import GHC.Tc.Errors.Hole.FitTypes ( HoleFitPluginR )
+
+import GHC.Core.Opt.Monad ( CoreToDo, CoreM )
+import GHC.Hs
import GHC.Utils.Fingerprint
-import Data.List (sort)
import GHC.Utils.Outputable (Outputable(..), text, (<+>))
+import Data.List (sort)
+
--Qualified import so we can define a Semigroup instance
-- but it doesn't clash with Outputable.<>
import qualified Data.Semigroup