E0106E0106 — Missing Lifetime Specifier
A reference in a function signature or struct is missing a lifetime parameter.
clippy::let_and_returnA variable is declared and immediately returned on the next line.
You have a let binding followed by returning that same variable. This is redundant because the expression could be returned directly without the intermediate variable.
Return the expression directly without assigning it to a variable. Remove the let binding and return statement, and just use the expression as the last line.
E0106A reference in a function signature or struct is missing a lifetime parameter.
E0621A function parameter needs an explicit lifetime annotation to satisfy the borrow checker.
unused_mutA variable is declared as mutable but never actually mutated.
E0015A non-const function is called in a constant expression context.
E0596You are trying to mutably borrow a value that is not declared as mutable.
E0716A reference is held to a temporary value that is immediately dropped.