Non-lexical lifetimes based on liveness

from blog baby steps, | ↗ original
In my previous post I outlined several cases that we would like to improve with Rust’s current borrow checker. This post discusses one possible scheme for solving those. The heart of the post is two key ideas: Define a lifetime as a set of points in the control-flow graph, where a point here refers to some particular statement in the control-flow...