056951d628
Taking a Diagnostic by move would break the usual pattern `diag.label(..).emit()`.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.