Module pretty_span

Source
Expand description

Pretty, human-readable printing of proc_macro2::Spans.

Structs§

PrettyRowCol
Helper struct which displays the span as row:col for human reading.
PrettySpan
Helper struct which displays the span as path:row:col for human reading/IDE linking. Example: dfir\tests\surface_syntax.rs:42:18.