We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
self
1 parent 02c65e1 commit 7154860Copy full SHA for 7154860
src/librustc_mir/transform/generator.rs
@@ -504,6 +504,7 @@ fn locals_live_across_suspend_points(
504
storage_live.seek_before(loc);
505
let mut storage_liveness = storage_live.get().clone();
506
507
+ // Later passes handle the generator's `self` argument separately.
508
storage_liveness.remove(SELF_ARG);
509
510
// Store the storage liveness for later use so we can restore the state
0 commit comments