@@ -148,7 +148,7 @@ impl<'a, 'gcx, 'tcx> Visitor<'gcx> for FindNestedTypeVisitor<'a, 'gcx, 'tcx> {
148
148
// Find the index of the named region that was part of the
149
149
// error. We will then search the function parameters for a bound
150
150
// region at the right depth with the same index
151
- ( Some ( rl:: Region :: EarlyBound ( _, id, _) ) , ty:: BrNamed ( def_id, _ ) ) => {
151
+ ( Some ( rl:: Region :: EarlyBound ( _, id, _) ) , ty:: BrNamed ( def_id) ) => {
152
152
debug ! (
153
153
"EarlyBound self.infcx.tcx.hir.local_def_id(id)={:?} \
154
154
def_id={:?}",
@@ -166,7 +166,7 @@ impl<'a, 'gcx, 'tcx> Visitor<'gcx> for FindNestedTypeVisitor<'a, 'gcx, 'tcx> {
166
166
// region at the right depth with the same index
167
167
(
168
168
Some ( rl:: Region :: LateBound ( debruijn_index, id, _) ) ,
169
- ty:: BrNamed ( def_id, _ ) ,
169
+ ty:: BrNamed ( def_id) ,
170
170
) => {
171
171
debug ! (
172
172
"FindNestedTypeVisitor::visit_ty: LateBound depth = {:?}" ,
@@ -241,7 +241,7 @@ impl<'a, 'gcx, 'tcx> Visitor<'gcx> for TyPathVisitor<'a, 'gcx, 'tcx> {
241
241
}
242
242
}
243
243
244
- ( Some ( rl:: Region :: EarlyBound ( _, id, _) ) , ty:: BrNamed ( def_id, _ ) ) => {
244
+ ( Some ( rl:: Region :: EarlyBound ( _, id, _) ) , ty:: BrNamed ( def_id) ) => {
245
245
debug ! (
246
246
"EarlyBound self.infcx.tcx.hir.local_def_id(id)={:?} \
247
247
def_id={:?}",
@@ -254,7 +254,7 @@ impl<'a, 'gcx, 'tcx> Visitor<'gcx> for TyPathVisitor<'a, 'gcx, 'tcx> {
254
254
}
255
255
}
256
256
257
- ( Some ( rl:: Region :: LateBound ( debruijn_index, id, _) ) , ty:: BrNamed ( def_id, _ ) ) => {
257
+ ( Some ( rl:: Region :: LateBound ( debruijn_index, id, _) ) , ty:: BrNamed ( def_id) ) => {
258
258
debug ! (
259
259
"FindNestedTypeVisitor::visit_ty: LateBound depth = {:?}" ,
260
260
debruijn_index,
0 commit comments