[−][src]Crate rustc_errors
Diagnostics creation and emission for rustc.
This module contains the code for creating and emitting diagnostics.
Re-exports
| pub use emitter::ColorConfig; | 
Modules
| annotate_snippet_emitter_writer | Emit diagnostics using the  | 
| emitter | The current rustc diagnostics emitter. | 
| registry | 
Structs
| CodeSuggestion | |
| Diagnostic | |
| DiagnosticBuilder | Used for emitting structured error messages and other diagnostic information. | 
| DiagnosticStyledString | |
| ExplicitBug | Signifies that the compiler died with an explicit call to  | 
| 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 and other compiler output. Certain errors (fatal, bug, unimpl) may cause immediate exit, others log errors for later reporting. | 
| HandlerFlags | |
| SubDiagnostic | For example a note attached to an error. | 
| Substitution | See the docs on  | 
| SubstitutionPart | 
Enums
| Applicability | Indicates the confidence in the correctness of a suggestion. | 
| DiagnosticId | |
| Level | |
| SuggestionStyle | 
Constants
| TRACK_DIAGNOSTICS | 
Traits
| SourceMapper | 
Type Definitions
| SourceMapperDyn |