1 error: missing return statement
2 --> $DIR/implicit_return.rs:12:5
5 | ^^^^ help: add `return` as shown: `return true`
7 = note: `-D clippy::implicit-return` implied by `-D warnings`
9 error: missing return statement
10 --> $DIR/implicit_return.rs:18:9
13 | ^^^^ help: add `return` as shown: `return true`
15 error: missing return statement
16 --> $DIR/implicit_return.rs:20:9
19 | ^^^^^ help: add `return` as shown: `return false`
21 error: missing return statement
22 --> $DIR/implicit_return.rs:28:17
25 | ^^^^^ help: add `return` as shown: `return false`
27 error: missing return statement
28 --> $DIR/implicit_return.rs:29:20
30 LL | false => { true },
31 | ^^^^ help: add `return` as shown: `return true`
33 error: missing return statement
34 --> $DIR/implicit_return.rs:44:9
37 | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true`
39 error: missing return statement
40 --> $DIR/implicit_return.rs:52:13
43 | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true`
45 error: missing return statement
46 --> $DIR/implicit_return.rs:61:13
49 | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true`
51 error: missing return statement
52 --> $DIR/implicit_return.rs:79:18
54 LL | let _ = || { true };
55 | ^^^^ help: add `return` as shown: `return true`
57 error: missing return statement
58 --> $DIR/implicit_return.rs:80:16
61 | ^^^^ help: add `return` as shown: `return true`
63 error: missing return statement
64 --> $DIR/implicit_return.rs:88:5
66 LL | format!("test {}", "test")
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add `return` as shown: `return format!("test {}", "test")`
69 error: aborting due to 11 previous errors