Rust has an RFC related to non-lexical lifetimes which has been approved to be implemented in the language for a …