ProjectionTy.item_def_id -> ProjectionTy.def_id

This commit is contained in:
Michael Goulet
2022-11-26 21:21:20 +00:00
parent 7f3af72606
commit 5c6afb850c
50 changed files with 164 additions and 186 deletions

View File

@@ -2599,7 +2599,7 @@ impl<'tcx> TyCtxt<'tcx> {
substs.len(),
"wrong number of generic parameters for {item_def_id:?}: {substs:?}",
);
self.mk_ty(Projection(ProjectionTy { item_def_id, substs }))
self.mk_ty(Projection(ProjectionTy { def_id: item_def_id, substs }))
}
#[inline]