(safe) Rust makes it impossible to get issues like this because of the *borrow checker*, which enforces that references to variables cannot escape their originating lifetimes/scopes
this seems like good design,