[][src]Module rustc_errors::annotate_snippet_emitter_writer

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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

AnnotateSnippetEmitterWriterInternal

Generates diagnostics using annotate-snippet

DiagnosticConverterInternal

Collects all the data needed to generate the data structures needed for the annotate-snippets library.