summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hrček <honza.hrk@gmail.com>2020-06-09 20:23:11 +0200
committerJan Hrček <honza.hrk@gmail.com>2020-06-16 20:36:38 +0200
commit3e884d14102948ad49d75611da247beff25911a4 (patch)
tree96fe8eca1ed1db5a98d26a562e1a114e93835992
parent56a9e95fd6c2f213d676c9a2bd0a6cf93c531dbb (diff)
downloadhaskell-3e884d14102948ad49d75611da247beff25911a4.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)