Function rustc_span::set_source_map

source ·
pub fn set_source_map<T, F: FnOnce() -> T>(
    source_map: Lrc<SourceMap>,
    f: F
) -> T
Expand description

Insert source_map into the session globals for the duration of the closure’s execution.