about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/callbacks.rs
AgeCommit message (Collapse)AuthorLines
2023-10-30Remove an unnecessary `drop`.Nicholas Nethercote-3/+1
2023-10-28Fix a comment.Nicholas Nethercote-1/+1
2023-09-21Move `DepKind` to `rustc_query_system` and define it as `u16`John Kåre Alsaker-1/+42
2023-02-09Simplify `tls::enter_context`.Nicholas Nethercote-1/+1
2022-12-25Ignore span references from diagnostics.Camille GILLOT-2/+11
The diagnostics are replayed at the correct place anyway.
2022-05-23typoTshepang Lekhonkhobe-1/+1
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