summaryrefslogtreecommitdiff
path: root/docs/users_guide/extending_ghc.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/extending_ghc.rst')
-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)