Module annotate_snippet_emitter_writer

Source
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ยง

AnnotateSnippetEmitter
Generates diagnostics using annotate-snippet

Functionsยง

annotation_level_for_level ๐Ÿ”’
Maps crate::Level to annotate_snippets::Level
source_string ๐Ÿ”’
Provides the source string for the given line of file