Types, Traits, and (Life)Times
Whereas the purpose of generic data types and traits is flexibility, the purpose of lifetime syntax is safety. Once it is known how references relate to one another, the compiler can guarantee memory-safe operations. Rust compels you to contend with the potential for dangling pointers early in the development lifecycle – at compile-time – where it will be both easier and safer to fix them:
Generic Types, Traits, and Lifetimes - The Rust Programming Language