1
Fork 0

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
commit 84a2b689ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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);