mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-10 06:42:00 +00:00
`DiagCtxt::span_bug` is different to the other `DiagCtxt::span_*` methods. This commit makes it the same, which requires changing `DiagCtxt::span_delayed_bug` to not do everything within the `inner.borrow_mut()`.