To enable improved accuracy of diagnostics in upcoming commits.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.