37
Common Rust Lifetime Misconceptions (2020)
(github.com)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
This looks like a pretty easy fix that the compiler could do by extracting the argument to a temp variable to improve the syntax of the language.