Skip to content

Commit 700cf12

Browse files
committed
Fix to earlier instrumentation: loop_count was not getting incremented.
1 parent 5eae778 commit 700cf12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc/middle/resolve_lifetime.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ impl<'a> LifetimeContext<'a> {
373373
let mut search_result = None;
374374
let mut loop_count = 0u;
375375
loop {
376+
loop_count += 1;
376377
debug!("resolve_free_lifetime_ref loop: {} \
377378
scope_data: {} scope: {} search_result: {}",
378379
loop_count, scope_data, scope, search_result);

0 commit comments

Comments
 (0)