fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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