error: returning the result of a let binding from a block. Consider returning the expression directly. --> $DIR/let_return.rs:20:5 | 20 | x | ^ | = note: `-D clippy::let-and-return` implied by `-D warnings` note: this expression can be directly returned --> $DIR/let_return.rs:19:13 | 19 | let x = 5; | ^ error: returning the result of a let binding from a block. Consider returning the expression directly. --> $DIR/let_return.rs:26:9 | 26 | x | ^ | note: this expression can be directly returned --> $DIR/let_return.rs:25:17 | 25 | let x = 5; | ^ error: aborting due to 2 previous errors