mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-23 21:54:16 +00:00
We have `span_delayed_bug` and often pass it a `DUMMY_SP`. This commit adds `delayed_bug`, which matches pairs like `err`/`span_err` and `warn`/`span_warn`.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.