Trait rune::EmitSource [−][src]
Helper trait to emit source code locations.
These are implemented for Source, so that you can print diagnostics about a source conveniently.
Required methods
fn emit_source_line<O>(&self, out: &mut O, span: Span) -> Result<()> where
O: WriteColor,
[src]
O: WriteColor,
Emit the source location as a single line of the given writer.