1 error: unreachable block in `if` or `while` expression
2 --> $DIR/expr_while.rs:7:20
5 | ____________------__^
7 | | any code following this expression is unreachable
9 LL | | println!("Hello, world!");
11 | |_____^ unreachable block in `if` or `while` expression
13 note: the lint level is defined here
14 --> $DIR/expr_while.rs:4:9
16 LL | #![deny(unreachable_code)]
19 error: unreachable block in `if` or `while` expression
20 --> $DIR/expr_while.rs:22:20
23 | ____________------__^
25 | | any code following this expression is unreachable
27 LL | | println!("I am dead.");
29 | |_____^ unreachable block in `if` or `while` expression
31 error: aborting due to 2 previous errors