HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Moduleghc-lib-parser-9.14.1.20251220GHC2021

GHC.Driver.Errors.Types

  • 10 types
  • 4 values
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

Instances5Generic, Diagnostic, Rep, DiagnosticOpts, DiagnosticHint
datadata DriverMessage where
#

A message from the driver.

Constructors

Instances5Generic, Diagnostic, Rep, DiagnosticOpts, DiagnosticHint
datadata PsMessage
#

Constructors

Instances5Generic, Diagnostic, Rep, DiagnosticOpts, DiagnosticHint

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