This commit is contained in:
Kevin Reid 2023-04-19 10:06:30 -07:00
parent f17c805701
commit 883606f2c0

View file

@ -1052,7 +1052,7 @@ impl fmt::Debug for Span {
.field("ctxt", &span.ctxt())
.finish()
}
if SESSION_GLOBALS.is_set() {
with_session_globals(|session_globals| {
if let Some(source_map) = &*session_globals.source_map.borrow() {