@@ -1432,8 +1432,11 @@ impl<'cx, 'gcx, 'tcx> SelectionContext<'cx, 'gcx, 'tcx> {
1432
1432
obligation, trait_bound) ;
1433
1433
1434
1434
let Normalized { value : normal_bound, obligations } =
1435
- project:: normalize (
1436
- self , obligation. param_env . clone ( ) , obligation. cause . clone ( ) ,
1435
+ normalize_with_depth (
1436
+ self ,
1437
+ obligation. param_env . clone ( ) ,
1438
+ obligation. cause . clone ( ) ,
1439
+ obligation. recursion_depth ,
1437
1440
& trait_bound) ;
1438
1441
debug ! ( "match_projection: \
1439
1442
normal_bound={:?}, \
@@ -1442,8 +1445,11 @@ impl<'cx, 'gcx, 'tcx> SelectionContext<'cx, 'gcx, 'tcx> {
1442
1445
self . inferred_obligations . extend ( obligations) ;
1443
1446
1444
1447
let Normalized { value : normal_skol_trait_ref, obligations } =
1445
- project:: normalize (
1446
- self , obligation. param_env . clone ( ) , obligation. cause . clone ( ) ,
1448
+ normalize_with_depth (
1449
+ self ,
1450
+ obligation. param_env . clone ( ) ,
1451
+ obligation. cause . clone ( ) ,
1452
+ obligation. recursion_depth ,
1447
1453
& skol_trait_ref) ;
1448
1454
debug ! ( "match_projection: \
1449
1455
normal_skol_trait_ref={:?}, \
0 commit comments