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:16:15
12 LL | if true { true } else { false }
13 | ^^^^ help: add `return` as shown: `return true`
15 error: missing `return` statement
16 --> $DIR/implicit_return.rs:16:29
18 LL | if true { true } else { false }
19 | ^^^^^ help: add `return` as shown: `return false`
21 error: missing `return` statement
22 --> $DIR/implicit_return.rs:22:17
25 | ^^^^^ help: add `return` as shown: `return false`
27 error: missing `return` statement
28 --> $DIR/implicit_return.rs:23:20
30 LL | false => { true },
31 | ^^^^ help: add `return` as shown: `return true`
33 error: missing `return` statement
34 --> $DIR/implicit_return.rs:36:9
37 | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true`
39 error: missing `return` statement
40 --> $DIR/implicit_return.rs:43:13
43 | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true`
45 error: missing `return` statement
46 --> $DIR/implicit_return.rs:51:13
49 | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true`
51 error: missing `return` statement
52 --> $DIR/implicit_return.rs:69:18
54 LL | let _ = || { true };
55 | ^^^^ help: add `return` as shown: `return true`
57 error: missing `return` statement
58 --> $DIR/implicit_return.rs:70:16
61 | ^^^^ help: add `return` as shown: `return true`
63 error: missing `return` statement
64 --> $DIR/implicit_return.rs:78:5
66 LL | format!("test {}", "test")
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add `return` as shown: `return format!("test {}", "test")`
69 error: missing `return` statement
70 --> $DIR/implicit_return.rs:87:5
73 | ^^^^^^^^^^^^^^^ help: add `return` as shown: `return m!(true, false)`
75 error: missing `return` statement
76 --> $DIR/implicit_return.rs:93:13
79 | ^^^^^^^^^^ help: change `break` to `return` as shown: `return true`
81 error: missing `return` statement
82 --> $DIR/implicit_return.rs:98:17
84 LL | break 'outer false;
85 | ^^^^^^^^^^^^^^^^^^ help: change `break` to `return` as shown: `return false`
87 error: missing `return` statement
88 --> $DIR/implicit_return.rs:113:5
95 help: add `return` as shown
102 error: missing `return` statement
103 --> $DIR/implicit_return.rs:127:5
106 | ^^^^ help: add `return` as shown: `return true`
108 error: aborting due to 16 previous errors