Commit 781b589
authored
Rollup merge of rust-lang#73244 - ecstatic-morse:validate-generator-mir, r=tmandry
Check for assignments between non-conflicting generator saved locals
This is to prevent future changes to the generator transform from reintroducing the problem that caused rust-lang#73137. Namely, a store between two generator saved locals whose storage does not conflict.
My ultimate goal is to introduce a modified version of rust-lang#71956 that handles this case properly.
r? @tmandry1 file changed
+213
-56
lines changed
0 commit comments