I have a strongly negative view of Rust lifetimes, and I shared a contrasting claim about how a compiler might ensure memory safety without lifetime annotations.
I think lifetimes are the worst property of Rust.
In the post I quoted @wvo, who claimed a program can be memory-safe with zero annotations, without lifetime syntax, aliasing or exclusivity rules, or unsafe code.
@wvo also claimed that a compiler can infer what each reference is rooted in and reject anything that could outlive its owner.
Related: programming language design, llm determinism and transparency, commenting and code clarity