Module rustc_errors::annotate_snippet_emitter_writer [−][src]
Expand description
Emit diagnostics using the annotate-snippets library
This is the equivalent of ./emitter.rs but making use of the
annotate-snippets library instead of building the output ourselves.
Structs
Generates diagnostics using annotate-snippet
Functions
Maps Diagnostic::Level to snippet::AnnotationType
Provides the source string for the given line of file