1 error: unreachable block in `if` or `while` expression
2 --> $DIR/expr_if.rs:7:17
7 | | any code following this expression is unreachable
8 LL | | println!("Hello, world!");
10 | |_____^ unreachable block in `if` or `while` expression
12 note: the lint level is defined here
13 --> $DIR/expr_if.rs:4:9
15 LL | #![deny(unreachable_code)]
18 error: unreachable statement
19 --> $DIR/expr_if.rs:27:5
22 | ------ any code following this expression is unreachable
24 LL | println!("But I am.");
25 | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement
27 = note: this error originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
29 error: aborting due to 2 previous errors