summaryrefslogtreecommitdiff
path: root/compiler/GHC/Iface/Load.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Iface/Load.hs')
-rw-r--r--compiler/GHC/Iface/Load.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/GHC/Iface/Load.hs b/compiler/GHC/Iface/Load.hs
index 2d474d0da3..41fe389b46 100644
--- a/compiler/GHC/Iface/Load.hs
+++ b/compiler/GHC/Iface/Load.hs
@@ -35,8 +35,6 @@ module GHC.Iface.Load (
module Iface_Errors -- avoids boot files in Ppr modules
) where
-#include "HsVersions.h"
-
import GHC.Prelude
import {-# SOURCE #-} GHC.IfaceToCore
@@ -537,7 +535,7 @@ loadInterface doc_str mod from
-- of one's own boot file! (one-shot only)
-- See Note [Loading your own hi-boot file]
- ; WARN( bad_boot, ppr mod )
+ ; warnPprTrace bad_boot (ppr mod) $
updateEps_ $ \ eps ->
if elemModuleEnv mod (eps_PIT eps) || is_external_sig home_unit iface
then eps