summaryrefslogtreecommitdiff
path: root/compiler/utils/Panic.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/Panic.lhs')
-rw-r--r--compiler/utils/Panic.lhs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/utils/Panic.lhs b/compiler/utils/Panic.lhs
index 3521910e95..c02de1c3de 100644
--- a/compiler/utils/Panic.lhs
+++ b/compiler/utils/Panic.lhs
@@ -10,7 +10,7 @@ some unnecessary loops in the module dependency graph.
\begin{code}
module Panic (
GhcException(..), showGhcException, throwGhcException, handleGhcException,
- ghcError, progName,
+ progName,
pgmError,
panic, sorry, panicFastInt, assertPanic, trace,
@@ -173,10 +173,6 @@ showGhcException exception
ExitFailure x -> x
--- | Alias for `throwGhcException`
-ghcError :: GhcException -> a
-ghcError e = Exception.throw e
-
throwGhcException :: GhcException -> a
throwGhcException = Exception.throw