Skip to content

Commit d8e0807

Browse files
Add comment for strange conditional
1 parent 90da274 commit d8e0807

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_mir/transform/generator.rs

+1
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ fn record_conflicts_at_curr_loc(
580580
local_conflicts.union_row_with(&requires_storage, local);
581581
}
582582

583+
// `>1` because the `self` argument always requires storage.
583584
if requires_storage.count() > 1 {
584585
trace!("requires_storage={:?}", requires_storage);
585586
}

0 commit comments

Comments
 (0)