1 error: returning the result of a let binding from a block. Consider returning the expression directly.
2 --> $DIR/let_return.rs:10:5
7 note: lint level defined here
8 --> $DIR/let_return.rs:5:9
10 5 | #![deny(let_and_return)]
12 note: this expression can be directly returned
13 --> $DIR/let_return.rs:9:13
18 error: returning the result of a let binding from a block. Consider returning the expression directly.
19 --> $DIR/let_return.rs:16:9
24 note: this expression can be directly returned
25 --> $DIR/let_return.rs:15:17
30 error: aborting due to 2 previous errors