blob: 0b74692ddcf9d8548624dfa859c4f8d0870e5aae [file] [log] [blame]
error: unreachable statement
--> $DIR/unreachable.rs:16:9
|
15 | let y = unimplemented!();
| ---------------- any code following this expression is unreachable
16 | let z = y;
| ^^^^^^^^^^ unreachable statement
|
note: the lint level is defined here
--> $DIR/unreachable.rs:1:9
|
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]`