[−][src]Function c2rust_refactor::driver::make_span_for_text
pub fn make_span_for_text(cm: &SourceMap, s: &str) -> Span
Create a span whose text is s
. Note this is somewhat expensive, as it adds a new dummy file
to the SourceMap
on every call.