ghc-9.4.5: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Rename.Unbound

Synopsis

Documentation

unknownNameSuggestions :: WhatLooking -> DynFlags -> HomePackageTable -> Module -> GlobalRdrEnv -> LocalRdrEnv -> ImportAvails -> RdrName -> ([ImportError], [GhcHint]) Source #

Called from the typechecker (GHC.Tc.Errors) when we find an unbound variable

data WhatLooking Source #

Instances

Instances details
Eq WhatLooking Source # 
Instance details

Defined in GHC.Rename.Unbound

data LookingFor Source #

Constructors

LF 

nameSpacesRelated Source #

Arguments

:: DynFlags

to find out whether -XDataKinds is enabled

-> WhatLooking

What kind of name are we looking for

-> NameSpace

Name space of the original name

-> NameSpace

Name space of a name that might have been meant

-> Bool