rename codegen_fulfill_obligation

This commit is contained in:
lcnr 2022-09-09 13:36:27 +02:00
parent 14f2acd0ac
commit c63020a7c3
7 changed files with 10 additions and 15 deletions

View file

@ -35,7 +35,7 @@ fn custom_coerce_unsize_info<'tcx>(
substs: tcx.mk_substs_trait(source_ty, &[target_ty.into()]),
});
match tcx.codegen_fulfill_obligation((ty::ParamEnv::reveal_all(), trait_ref)) {
match tcx.codegen_select_candidate((ty::ParamEnv::reveal_all(), trait_ref)) {
Ok(traits::ImplSource::UserDefined(traits::ImplSourceUserDefinedData {
impl_def_id,
..