rustc_span::source_map

Function respan

Source
pub fn respan<T>(sp: Span, t: T) -> Spanned<T>