Module annotate_snippet_emitter_writer

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
Annotation ๐Ÿ”’

Functionsยง

annotation_level_for_level ๐Ÿ”’
collect_annotations ๐Ÿ”’
emit_to_destination ๐Ÿ”’
shrink_file ๐Ÿ”’