mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
move bug and span_bug macros to rustc_span This allows them to be used without depending on rustc_middle. This is done by using a rustc_interface callback so that, if the callback is set, a internal compiler error diagnostic is printed through that. After that the panic is initiated. r? @jdonszelmann @bjorn3