@@ -125,9 +125,9 @@ impl<'tcx> InferCtxt<'tcx> {
125
125
ty. into ( )
126
126
}
127
127
128
- CanonicalVarKind :: PlaceholderTy ( ty:: PlaceholderType { universe, name } ) => {
128
+ CanonicalVarKind :: PlaceholderTy ( ty:: PlaceholderType { universe, bound } ) => {
129
129
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 } ;
131
131
self . tcx . mk_placeholder ( placeholder_mapped) . into ( )
132
132
}
133
133
@@ -138,9 +138,9 @@ impl<'tcx> InferCtxt<'tcx> {
138
138
)
139
139
. into ( ) ,
140
140
141
- CanonicalVarKind :: PlaceholderRegion ( ty:: PlaceholderRegion { universe, name } ) => {
141
+ CanonicalVarKind :: PlaceholderRegion ( ty:: PlaceholderRegion { universe, bound } ) => {
142
142
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 } ;
144
144
self . tcx . mk_re_placeholder ( placeholder_mapped) . into ( )
145
145
}
146
146
@@ -152,9 +152,9 @@ impl<'tcx> InferCtxt<'tcx> {
152
152
)
153
153
. into ( ) ,
154
154
155
- CanonicalVarKind :: PlaceholderConst ( ty:: PlaceholderConst { universe, name } , ty) => {
155
+ CanonicalVarKind :: PlaceholderConst ( ty:: PlaceholderConst { universe, bound } , ty) => {
156
156
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 } ;
158
158
self . tcx . mk_const ( placeholder_mapped, ty) . into ( )
159
159
}
160
160
}
0 commit comments