1 error: returning the result of a `let` binding from a block
2 --> $DIR/let_and_return.rs:7:5
5 | ---------- unnecessary `let` binding
9 = note: `-D clippy::let-and-return` implied by `-D warnings`
10 help: return the expression directly
16 error: returning the result of a `let` binding from a block
17 --> $DIR/let_and_return.rs:13:9
20 | ---------- unnecessary `let` binding
24 help: return the expression directly
30 error: returning the result of a `let` binding from a block
31 --> $DIR/let_and_return.rs:154:13
33 LL | let clone = Arc::clone(&self.foo);
34 | ---------------------------------- unnecessary `let` binding
38 help: return the expression directly
41 LL | Arc::clone(&self.foo) as _
44 error: aborting due to 3 previous errors