23 lines
569 B
Plaintext
23 lines
569 B
Plaintext
error: unreachable expression
|
|
--> $DIR/expr_block.rs:21:9
|
|
|
|
|
21 | 22 //~ ERROR unreachable
|
|
| ^^
|
|
|
|
|
note: lint level defined here
|
|
--> $DIR/expr_block.rs:14:9
|
|
|
|
|
14 | #![deny(unreachable_code)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: unreachable statement
|
|
--> $DIR/expr_block.rs:36:9
|
|
|
|
|
36 | println!("foo");
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
|
|
|
error: aborting due to 2 previous errors
|
|
|