Struct codemap_diagnostic::Emitter [] [src]

pub struct Emitter<'a> { /* fields omitted */ }

Formats and prints diagnostic messages.

Methods

impl<'a> Emitter<'a>
[src]

Creates an emitter wrapping stderr.

Creates an emitter wrapping a boxed Write trait object.

Print a group of diagnostic messages.

The messages within a group are printed atomically without spacing between them, and share consistent formatting elements, such as aligned line number width.