Re-exports§
pub use self::emitter::ColorConfig;
pub use self::emitter::Emitter;
pub use self::emitter::EmitterWriter;
Modules§
Structs§
- Code
Suggestion - Diagnostic
- Diagnostic
Builder - Used for emitting structured error messages and other diagnostic information.
- Diagnostic
Styled String - Explicit
Bug - Signifies that the compiler died with an explicit call to
.bug
or.span_bug
rather than a failed assertion, etc. - Fatal
Error - 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.)
- Fatal
Error Marker - Handler
- A handler deals with errors; certain errors (fatal, bug, unimpl) may cause immediate exit, others log errors for later reporting.
- Handler
Flags - SubDiagnostic
- For example a note attached to an error.
- Substitution
- See the docs on
CodeSuggestion::substitutions
- Substitution
Part
Enums§
Constants§
Statics§
- HANDLER
- Used for error reporting in transform.