@@ -125,9 +125,9 @@ impl<'tcx> InferCtxt<'tcx> {
125125 ty. into ( )
126126 }
127127
128- CanonicalVarKind :: PlaceholderTy ( ty:: PlaceholderType { universe, name } ) => {
128+ CanonicalVarKind :: PlaceholderTy ( ty:: PlaceholderType { universe, bound } ) => {
129129 let universe_mapped = universe_map ( universe) ;
130- let placeholder_mapped = ty:: PlaceholderType { universe : universe_mapped, name } ;
130+ let placeholder_mapped = ty:: PlaceholderType { universe : universe_mapped, bound } ;
131131 self . tcx . mk_placeholder ( placeholder_mapped) . into ( )
132132 }
133133
@@ -138,9 +138,9 @@ impl<'tcx> InferCtxt<'tcx> {
138138 )
139139 . into ( ) ,
140140
141- CanonicalVarKind :: PlaceholderRegion ( ty:: PlaceholderRegion { universe, name } ) => {
141+ CanonicalVarKind :: PlaceholderRegion ( ty:: PlaceholderRegion { universe, bound } ) => {
142142 let universe_mapped = universe_map ( universe) ;
143- let placeholder_mapped = ty:: PlaceholderRegion { universe : universe_mapped, name } ;
143+ let placeholder_mapped = ty:: PlaceholderRegion { universe : universe_mapped, bound } ;
144144 self . tcx . mk_re_placeholder ( placeholder_mapped) . into ( )
145145 }
146146
@@ -152,9 +152,9 @@ impl<'tcx> InferCtxt<'tcx> {
152152 )
153153 . into ( ) ,
154154
155- CanonicalVarKind :: PlaceholderConst ( ty:: PlaceholderConst { universe, name } , ty) => {
155+ CanonicalVarKind :: PlaceholderConst ( ty:: PlaceholderConst { universe, bound } , ty) => {
156156 let universe_mapped = universe_map ( universe) ;
157- let placeholder_mapped = ty:: PlaceholderConst { universe : universe_mapped, name } ;
157+ let placeholder_mapped = ty:: PlaceholderConst { universe : universe_mapped, bound } ;
158158 self . tcx . mk_const ( placeholder_mapped, ty) . into ( )
159159 }
160160 }
0 commit comments