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ยง
- Annotate
Snippet Emitter - Generates diagnostics using annotate-snippet
Functionsยง
- annotation_
level_ ๐for_ level - Maps
crate::Level
toannotate_snippets::Level
- source_
string ๐ - Provides the source string for the given
line
offile