summary refs log tree commit diff
path: root/compiler/rustc_interface/src/callbacks.rs
AgeCommit message (Collapse)AuthorLines
2022-02-12Remove SPAN_DEBUG globalbjorn3-14/+1
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
2021-10-01Fix clippy lintsGuillaume Gomez-1/+1
2021-09-10Add sanity check.Camille GILLOT-1/+3
We force the relative span's parent to be absolute. This avoids having to handle long dependency chains.
2021-09-10Track span dependency using a callback.Camille GILLOT-0/+9
2021-04-07Fix outdated crate names in `rustc_interface::callbacks`pierwill-7/+7
2020-08-30mv compiler to compiler/mark-0/+61