about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/context.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-11-26 21:21:20 +0000
committerMichael Goulet <michael@errs.io>2022-12-13 17:34:44 +0000
commit5c6afb850c29f5604f685bf4d4fea85a2deb7197 (patch)
treeb89915de1c6af256c67a1c2fe1fbdba8cb68cf70 /compiler/rustc_middle/src/ty/context.rs
parent7f3af726065d9eaabf93d87f22d97f60cca7a5f1 (diff)
downloadrust-5c6afb850c29f5604f685bf4d4fea85a2deb7197.tar.gz
rust-5c6afb850c29f5604f685bf4d4fea85a2deb7197.zip
ProjectionTy.item_def_id -> ProjectionTy.def_id
Diffstat (limited to 'compiler/rustc_middle/src/ty/context.rs')
-rw-r--r--compiler/rustc_middle/src/ty/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs
index c56f6073b05..938eb664da9 100644
--- a/compiler/rustc_middle/src/ty/context.rs
+++ b/compiler/rustc_middle/src/ty/context.rs
@@ -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]