| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-12-30 | Add some docs to `bug`, `span_bug` and `delay_span_bug` | Nilstrieb | -2/+1 | |
| 2022-04-05 | span: move `MultiSpan` | David Wood | -1/+2 | |
| `MultiSpan` contains labels, which are more complicated with the introduction of diagnostic translation and will use types from `rustc_errors` - however, `rustc_errors` depends on `rustc_span` so `rustc_span` cannot use types like `DiagnosticMessage` without dependency cycles. Introduce a new `rustc_error_messages` crate that can contain `DiagnosticMessage` and `MultiSpan`. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2021-11-09 | Use AddAssign impl | est31 | -1/+1 | |
| 2021-02-03 | Make panic/assert calls in rustc compatible with Rust 2021. | Mara Bos | -2/+2 | |
| 2020-12-29 | Add `#[track_caller]` to `bug!` and `register_renamed` | Joshua Nelson | -0/+1 | |
| Before: ``` thread 'rustc' panicked at 'compiler/rustc_lint/src/context.rs:267:18: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:34:26 ``` After: ``` thread 'rustc' panicked at 'src/librustdoc/core.rs:455:24: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:35:26 ``` The reason I added it to `register_renamed` too is that any panic in that function will be the caller's fault. | ||||
| 2020-09-26 | Remove unused #[allow(...)] statements from compiler/ | est31 | -2/+0 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+135 | |
