[−][src]Module syntax::diagnostics::plugin::emitter
The current rustc diagnostics emitter.
An Emitter
takes care of generating the output from a DiagnosticBuilder
struct.
There are various Emitter
implementations that generate different output formats such as
JSON and human readable output.
The output types are defined in librustc::session::config::ErrorOutputType
.
Structs
EmitterWriter | Handles the writing of |
FileWithAnnotatedLines |
Enums
ColorConfig | |
Destination | |
HumanReadableErrorType | Describes the way the content of the |
WritableDst |
Constants
MAX_HIGHLIGHT_LINES | maximum number of lines we will print for each error; arbitrary. |
MAX_SUGGESTIONS | maximum number of suggestions to be shown |
Traits
Emitter | Emitter trait for emitting errors. |