1 warning: unreachable block in `if` expression
2 --> $DIR/if-ret.rs:6:24
4 LL | fn foo() { if (return) { } }
5 | -------- ^^^ unreachable block in `if` expression
7 | any code following this expression is unreachable
9 = note: `#[warn(unreachable_code)]` on by default
11 warning: 1 warning emitted