Closures and the borrow checker

from blog baby steps, | ↗ original
I have been working on making the borrow checker treat closures in a sound way. I hope to land this patch very soon. I want to describe the impact of these changes and summarize what we might do in the future. The high-level idea The basic idea is that the borrow checker will treat a closure as if it were constructing a record with one borrowed...