pub(super) fn check_lto_allowed<B: WriteBackendMethods>( cgcx: &CodegenContext<B>, dcx: DiagCtxtHandle<'_>, )