summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan HrĨek <honza.hrk@gmail.com>2020-06-09 20:23:11 +0200
committerAndreas Klebinger <klebinger.andreas@gmx.at>2020-06-22 12:54:53 -0400
commit92c82f443b09f9aeb8c1f8f409d1da92bd0228a5 (patch)
tree98d54ef0365386010d9b45a4afc26c84977b083c
parentc89d04ca7bf8cb776b1cf18ffb52af9b7e36aac8 (diff)
downloadhaskell-92c82f443b09f9aeb8c1f8f409d1da92bd0228a5.tar.gz
Rename TcHoleErrors to GHC.Tc.Errors.Hole
-rw-r--r--docs/users_guide/extending_ghc.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/extending_ghc.rst b/docs/users_guide/extending_ghc.rst
index f8352457f8..cc16b8f2df 100644
--- a/docs/users_guide/extending_ghc.rst
+++ b/docs/users_guide/extending_ghc.rst
@@ -937,7 +937,7 @@ at error generation.
Where ``fromPureHFPlugin :: HoleFitPlugin -> HoleFitPluginR`` is a convenience
-function provided in the ``TcHoleErrors`` module, for defining plugins that do
+function provided in the ``GHC.Tc.Errors.Hole`` module, for defining plugins that do
not require internal state.
@@ -986,7 +986,7 @@ spent on searching for valid hole fits, after which new searches are aborted.
import GHC.Plugins hiding ((<>))
- import TcHoleErrors
+ import GHC.Tc.Errors.Hole
import Data.List (stripPrefix, sortOn)