1
Fork 0

fix various subst_identity vs skip_binder

This commit is contained in:
Kyle Matsuda 2023-01-11 11:32:33 -07:00
parent f29a334c90
commit 6e969ea85e
13 changed files with 29 additions and 25 deletions

View file

@ -540,7 +540,7 @@ fn check_item_type(tcx: TyCtxt<'_>, id: hir::ItemId) {
tcx,
it.span,
it.owner_id.def_id,
impl_trait_ref.skip_binder(),
impl_trait_ref.subst_identity(),
&impl_.items,
);
check_on_unimplemented(tcx, it);