rustfix

Function collect_span

Source
pub(crate) fn collect_span(span: &DiagnosticSpan) -> Option<Replacement>
Expand description

Converts a DiagnosticSpan into a Replacement.