UPDATE - migrate constant span_bug to translatable diagnostic.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.