Function rustfix::span_to_snippet
source ยท pub(crate) fn span_to_snippet(span: &DiagnosticSpan) -> Snippet
Expand description
Converts a DiagnosticSpan
to a Snippet
.
pub(crate) fn span_to_snippet(span: &DiagnosticSpan) -> Snippet
Converts a DiagnosticSpan
to a Snippet
.