diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-02-14 01:08:42 +0300 |
---|---|---|
committer | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-02-14 01:08:42 +0300 |
commit | 2fce98a06ac84f1cf9e14b51ae9d160531623769 (patch) | |
tree | 589a0770b9414407fff79d9c80c99f628619174a /compiler/rename/RnUnbound.hs | |
parent | 647894e5450d354e0255b705b8fdbe3264514ecb (diff) | |
download | haskell-wip/forall-keyword.tar.gz |
Remove 'perhapsForallMsg'wip/forall-keyword
Diffstat (limited to 'compiler/rename/RnUnbound.hs')
-rw-r--r-- | compiler/rename/RnUnbound.hs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rename/RnUnbound.hs b/compiler/rename/RnUnbound.hs index a0fe729a3f..2de2fc1f0c 100644 --- a/compiler/rename/RnUnbound.hs +++ b/compiler/rename/RnUnbound.hs @@ -12,7 +12,6 @@ module RnUnbound ( mkUnboundName , WhereLooking(..) , unboundName , unboundNameX - , perhapsForallMsg , notInScopeErr ) where import GhcPrelude @@ -349,11 +348,6 @@ extensionSuggestions rdrName = text "Perhaps you meant to use RecursiveDo" | otherwise = Outputable.empty -perhapsForallMsg :: SDoc -perhapsForallMsg - = vcat [ text "Perhaps you intended to use ExplicitForAll or similar flag" - , text "to enable explicit-forall syntax: forall <tvs>. <type>"] - qualsInScope :: GlobalRdrElt -> [(ModuleName, HowInScope)] -- Ones for which the qualified version is in scope qualsInScope GRE { gre_name = n, gre_lcl = lcl, gre_imp = is } |