[][src]Module syntax::diagnostics::plugin

Modules

emitter
registry

Structs

CodeSuggestion
Diagnostic
DiagnosticBuilder

Used for emitting structured error messages and other diagnostic information.

DiagnosticStyledString
ErrorInfo

Error information type.

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 two kinds of compiler output.

HandlerFlags
SubDiagnostic

For example a note attached to an error.

Substitution

See the docs on CodeSuggestion::substitutions

SubstitutionPart

Enums

Applicability

Indicates the confidence in the correctness of a suggestion.

DiagnosticId
Level
SuggestionStyle

Constants

TRACK_DIAGNOSTICS

Traits

SourceMapper

Functions

expand_build_diagnostic_array
expand_diagnostic_used
expand_register_diagnostic

Type Definitions

ErrorMap

Mapping from error codes to metadata.

SourceMapperDyn