@@ -318,17 +318,13 @@ where
318
318
self . delegate . push_verify ( origin, generic, region, verify_bound) ;
319
319
}
320
320
321
+ #[ tracing:: instrument( level = "Debug" , skip( self ) ) ]
321
322
fn projection_must_outlive (
322
323
& mut self ,
323
324
origin : infer:: SubregionOrigin < ' tcx > ,
324
325
region : ty:: Region < ' tcx > ,
325
326
projection_ty : ty:: ProjectionTy < ' tcx > ,
326
327
) {
327
- debug ! (
328
- "projection_must_outlive(region={:?}, projection_ty={:?}, origin={:?})" ,
329
- region, projection_ty, origin
330
- ) ;
331
-
332
328
// This case is thorny for inference. The fundamental problem is
333
329
// that there are many cases where we have choice, and inference
334
330
// doesn't like choice (the current region inference in
@@ -437,6 +433,7 @@ where
437
433
// even though a satisfactory solution exists.
438
434
let generic = GenericKind :: Projection ( projection_ty) ;
439
435
let verify_bound = self . verify_bound . generic_bound ( generic) ;
436
+ debug ! ( "projection_must_outlive: pushing verify_bound={:?}" , verify_bound, ) ;
440
437
self . delegate . push_verify ( origin, generic, region, verify_bound) ;
441
438
}
442
439
}
0 commit comments