@@ -304,7 +304,7 @@ impl<'cx, 'tcx> LexicalResolver<'cx, 'tcx> {
304
304
}
305
305
306
306
fn expansion ( & self , var_values : & mut LexicalRegionResolutions < ' tcx > ) {
307
- self . iterate_until_fixed_point ( "Expansion" , |constraint| {
307
+ self . iterate_until_fixed_point ( |constraint| {
308
308
debug ! ( "expansion: constraint={:?}" , constraint) ;
309
309
let ( a_region, b_vid, b_data, retain) = match * constraint {
310
310
Constraint :: RegSubVar ( a_region, b_vid) => {
@@ -866,7 +866,7 @@ impl<'cx, 'tcx> LexicalResolver<'cx, 'tcx> {
866
866
}
867
867
}
868
868
869
- fn iterate_until_fixed_point < F > ( & self , tag : & str , mut body : F )
869
+ fn iterate_until_fixed_point < F > ( & self , mut body : F )
870
870
where
871
871
F : FnMut ( & Constraint < ' tcx > ) -> ( bool , bool ) ,
872
872
{
@@ -876,7 +876,7 @@ impl<'cx, 'tcx> LexicalResolver<'cx, 'tcx> {
876
876
while changed {
877
877
changed = false ;
878
878
iteration += 1 ;
879
- debug ! ( "---- {} Iteration {}{}" , "#" , tag , iteration) ;
879
+ debug ! ( "---- Expansion iteration {}" , iteration) ;
880
880
constraints. retain ( |constraint| {
881
881
let ( edge_changed, retain) = body ( constraint) ;
882
882
if edge_changed {
@@ -886,7 +886,7 @@ impl<'cx, 'tcx> LexicalResolver<'cx, 'tcx> {
886
886
retain
887
887
} ) ;
888
888
}
889
- debug ! ( "---- {} Complete after {} iteration(s)" , tag , iteration) ;
889
+ debug ! ( "---- Expansion complete after {} iteration(s)" , iteration) ;
890
890
}
891
891
892
892
fn bound_is_met (
0 commit comments