| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-03-14 | Represent diagnostic side effects as dep nodes | John Kåre Alsaker | -3/+2 | |
| 2024-08-24 | Do not call source_span when not tracking dependencies. | Camille GILLOT | -5/+13 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -1/+2 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-03-01 | Give `TRACK_DIAGNOSTIC` a return value. | Nicholas Nethercote | -5/+5 | |
| This means `DiagCtxtInner::emit_diagnostic` can return its result directly, rather than having to modify a local variable. | ||||
| 2024-02-28 | Rename `Diagnostic` as `DiagInner`. | Nicholas Nethercote | -2/+2 | |
| I started by changing it to `DiagData`, but that didn't feel right. `DiagInner` felt much better. | ||||
| 2024-01-11 | Rename `TRACK_DIAGNOSTICS` as `TRACK_DIAGNOSTIC`. | Nicholas Nethercote | -2/+2 | |
| Because the values put into it are functions named `track_diagnostic` and `default_track_diagnostic`. | ||||
| 2024-01-08 | Remove `{DiagCtxt,DiagCtxtInner}::emit_diagnostic_without_consuming`. | Nicholas Nethercote | -1/+1 | |
| They are no longer used, because `{DiagCtxt,DiagCtxtInner}::emit_diagnostic` are used everywhere instead. This also means `track_diagnostic` can become consuming. | ||||
| 2023-10-30 | Remove an unnecessary `drop`. | Nicholas Nethercote | -3/+1 | |
| 2023-10-28 | Fix a comment. | Nicholas Nethercote | -1/+1 | |
| 2023-09-21 | Move `DepKind` to `rustc_query_system` and define it as `u16` | John Kåre Alsaker | -1/+42 | |
| 2023-02-09 | Simplify `tls::enter_context`. | Nicholas Nethercote | -1/+1 | |
| 2022-12-25 | Ignore span references from diagnostics. | Camille GILLOT | -2/+11 | |
| The diagnostics are replayed at the correct place anyway. | ||||
| 2022-05-23 | typo | Tshepang Lekhonkhobe | -1/+1 | |
| 2022-02-12 | Remove SPAN_DEBUG global | bjorn3 | -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-01 | Fix clippy lints | Guillaume Gomez | -1/+1 | |
| 2021-09-10 | Add 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-10 | Track span dependency using a callback. | Camille GILLOT | -0/+9 | |
| 2021-04-07 | Fix outdated crate names in `rustc_interface::callbacks` | pierwill | -7/+7 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+61 | |
