rename codegen_fulfill_obligation
This commit is contained in:
parent
14f2acd0ac
commit
c63020a7c3
7 changed files with 10 additions and 15 deletions
|
@ -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,
|
||||
..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue