A collection of messages emitted by GHC during error reporting. A diagnostic message is typically a warning or an error. See Note [Messages].
INVARIANT: All the messages in this collection must be relevant, i.e. their Severity should not be SevIgnore. The smart constructor mkMessages will filter out any message which Severity is SevIgnore.
Instances7Functor, Foldable, Traversable, Semigroup, Monoid, Outputable, …
Functor MessagesDefined in ghc-9.10.3 · GHC.Types.ErrorFoldable MessagesDefined in ghc-9.10.3 · GHC.Types.ErrorTraversable MessagesDefined in ghc-9.10.3 · GHC.Types.ErrorSemigroup (Messages e)Defined in ghc-9.10.3 · GHC.Types.ErrorMonoid (Messages e)Defined in ghc-9.10.3 · GHC.Types.ErrorDiagnostic e => Outputable (Messages e)Defined in ghc-9.10.3 · GHC.Types.ErrorDiagnostic e => ToJson (Messages e)Defined in ghc-9.10.3 · GHC.Types.Error