Rollup merge of #138394 - lcnr:yeet-variant, r=compiler-errors

remove unnecessary variant
This commit is contained in:
Manish Goregaokar
2025-03-12 10:19:32 -07:00
committed by GitHub
3 changed files with 6 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ pub(crate) fn codegen_select_candidate<'tcx>(
infcx.err_ctxt().report_overflow_obligation_cycle(&cycle);
}
}
return Err(CodegenObligationError::FulfillmentError);
return Err(CodegenObligationError::Unimplemented);
}
let impl_source = infcx.resolve_vars_if_possible(impl_source);