HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.Driver.Errors.Types

  • 9 types
  • 4 values
  • Packageghc-9.10.3
  • Exports13
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceTypes.hs
datadata GhcMessage where
#

The umbrella type that encompasses all the different messages that GHC might output during the different compilation stages. See Note [GhcMessage].

Constructors

Instances4Generic, Diagnostic, Rep, DiagnosticOpts
datadata DriverMessage where
#

A message from the driver.

Constructors

Instances4Generic, Diagnostic, Rep, DiagnosticOpts
datadata PsMessage
#

Constructors

Instances4Generic, Diagnostic, Rep, DiagnosticOpts

Constructors

1 declaration

Creates a new GhcMessage out of any diagnostic. This function is also provided to ease the integration of #18516 by allowing diagnostics to be wrapped into the general (but structured) GhcMessage type, so that the conversion can happen gradually. This function should not be needed within GHC, as it would typically be used by plugin or library authors (see comment for the GhcUnknownMessage type constructor)

Utility functions

3 declarations