about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2022-01-14 19:34:01 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2022-02-12 11:50:02 +0100
commitf45ba82370f580fba0f1486f745607d7d30ef330 (patch)
treec763e198e9f04b48ff6f118e9f50a4252e3fc420 /compiler/rustc_interface/src/tests.rs
parent5730173763b32ada60d7653ca987562ba0dc66f6 (diff)
downloadrust-f45ba82370f580fba0f1486f745607d7d30ef330.tar.gz
rust-f45ba82370f580fba0f1486f745607d7d30ef330.zip
Remove SPAN_DEBUG global
The only difference between the default and rustc_interface set version
is that the default accesses the source map from SESSION_GLOBALS while
the rustc_interface version accesses the source map from the global
TyCtxt. SESSION_GLOBALS is always set while running the compiler while
the global TyCtxt is not always set. If the global TyCtxt is set, it's
source map is identical to the one in SESSION_GLOBALS
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
0 files changed, 0 insertions, 0 deletions