summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver')
-rw-r--r--compiler/GHC/Driver/Config/Core/Lint.hs1
-rw-r--r--compiler/GHC/Driver/Config/Core/Opt/Simplify.hs2
-rw-r--r--compiler/GHC/Driver/Env.hs2
-rw-r--r--compiler/GHC/Driver/Main.hs2
4 files changed, 4 insertions, 3 deletions
diff --git a/compiler/GHC/Driver/Config/Core/Lint.hs b/compiler/GHC/Driver/Config/Core/Lint.hs
index 533f029c7b..81835a5619 100644
--- a/compiler/GHC/Driver/Config/Core/Lint.hs
+++ b/compiler/GHC/Driver/Config/Core/Lint.hs
@@ -16,6 +16,7 @@ import GHC.Driver.Session
import GHC.Driver.Config.Diagnostic
import GHC.Core
+import GHC.Core.Rules
import GHC.Core.Lint
import GHC.Core.Lint.Interactive
import GHC.Core.Opt.Pipeline.Types
diff --git a/compiler/GHC/Driver/Config/Core/Opt/Simplify.hs b/compiler/GHC/Driver/Config/Core/Opt/Simplify.hs
index 75ae439df3..47a9c5a39a 100644
--- a/compiler/GHC/Driver/Config/Core/Opt/Simplify.hs
+++ b/compiler/GHC/Driver/Config/Core/Opt/Simplify.hs
@@ -6,7 +6,7 @@ module GHC.Driver.Config.Core.Opt.Simplify
import GHC.Prelude
-import GHC.Core.Rules ( RuleBase )
+import GHC.Core.Rules.Apply ( RuleBase )
import GHC.Core.Opt.Pipeline.Types ( CoreToDo(..) )
import GHC.Core.Opt.Simplify ( SimplifyExprOpts(..), SimplifyOpts(..) )
import GHC.Core.Opt.Simplify.Env ( FloatEnable(..), SimplMode(..) )
diff --git a/compiler/GHC/Driver/Env.hs b/compiler/GHC/Driver/Env.hs
index 492adc82cc..f3630d36a4 100644
--- a/compiler/GHC/Driver/Env.hs
+++ b/compiler/GHC/Driver/Env.hs
@@ -60,7 +60,7 @@ import GHC.Unit.Home.ModInfo
import GHC.Unit.Env
import GHC.Unit.External
-import GHC.Core ( CoreRule )
+import GHC.Core.Rules ( CoreRule )
import GHC.Core.FamInstEnv
import GHC.Core.InstEnv
diff --git a/compiler/GHC/Driver/Main.hs b/compiler/GHC/Driver/Main.hs
index 255ffaf035..fb7b27081c 100644
--- a/compiler/GHC/Driver/Main.hs
+++ b/compiler/GHC/Driver/Main.hs
@@ -179,7 +179,7 @@ import GHC.Core.Opt.Pipeline.Types ( CoreToDo (..))
import GHC.Core.TyCon
import GHC.Core.InstEnv
import GHC.Core.FamInstEnv
-import GHC.Core.Rules
+import GHC.Core.Rules.Apply
import GHC.Core.Stats
import GHC.Core.LateCC (addLateCostCentresPgm)