fixup new usages of fn_sig, bound_fn_sig after rebasing
This commit is contained in:
parent
4a7d0e9754
commit
dc1216bc06
4 changed files with 8 additions and 7 deletions
|
@ -184,7 +184,7 @@ pub(crate) fn extract_tupled_inputs_and_output_from_callable<'tcx>(
|
|||
) -> Result<Option<ty::Binder<'tcx, (Ty<'tcx>, Ty<'tcx>)>>, NoSolution> {
|
||||
match *self_ty.kind() {
|
||||
ty::FnDef(def_id, substs) => Ok(Some(
|
||||
tcx.bound_fn_sig(def_id)
|
||||
tcx.fn_sig(def_id)
|
||||
.subst(tcx, substs)
|
||||
.map_bound(|sig| (tcx.mk_tup(sig.inputs().iter()), sig.output())),
|
||||
)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue