remove unnecessary variant

This commit is contained in:
lcnr 2025-03-12 10:12:02 +01:00
parent a21d9789e2
commit adbcb910f0
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);