Module errors Copy item path
Summary Source pub use self::emitter::ColorConfig ;
pub use self::emitter::Emitter ;
pub use self::emitter::EmitterWriter ;
emitter ArchivedCodeSuggestion An archived CodeSuggestion
ArchivedSubstitution An archived Substitution
ArchivedSubstitutionPart An archived SubstitutionPart
CodeSuggestion CodeSuggestionResolver The resolver for an archived CodeSuggestion
Diagnostic Represents a diagnostic message with its level, message, unique identifier,
span, children, and suggestions. DiagnosticBuilder Used for emitting structured error messages and other diagnostic
information. DiagnosticStyledString ExplicitBug Signifies that the compiler died with an explicit call to .bug
or .span_bug
rather than a failed assertion, etc. FatalError Used as a return value to signify a fatal error occurred. (It is also
used as the argument to panic at the moment, but that will eventually
not be true.) FatalErrorMarker Handler A handler deals with errors; certain errors
(fatal, bug, unimpl) may cause immediate exit,
others log errors for later reporting. HandlerFlags Message SubDiagnostic For example a note attached to an error. Substitution See the docs on CodeSuggestion::substitutions
SubstitutionPart SubstitutionPartResolver The resolver for an archived SubstitutionPart
SubstitutionResolver The resolver for an archived Substitution
Applicability ApplicabilityResolver The resolver for an archived Applicability
ArchivedApplicability An archived Applicability
ArchivedLevel An archived Level
DiagnosticId Level LevelResolver The resolver for an archived Level
Style TRACK_DIAGNOSTICS HANDLER Used for error reporting in transform. SourceMapper SourceMapperDyn