Expand description
Pretty, human-readable printing of proc_macro2::Spans.
Structs§
- Pretty
RowCol - Helper struct which displays the span as
row:colfor human reading. - Pretty
Span - Helper struct which displays the span as
path:row:colfor human reading/IDE linking. Example:dfir\tests\surface_syntax.rs:42:18.
Functions§
- make_
source_ path_ relative - Strip
DFIR_BASE_DIRorCARGO_MANIFEST_DIRfrom the path prefix if possible.