rust/src/test/ui/reachable/expr_block.stderr

23 lines
550 B
Plaintext
Raw Normal View History

error: unreachable expression
--> $DIR/expr_block.rs:21:9
|
2017-11-20 13:13:27 +01:00
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");
| ^^^^^^^^^^^^^^^^
|
2017-11-20 18:03:20 +00:00
= note: this error originates in a macro outside of the current crate (run with -Z external-macro-backtrace for more info)
error: aborting due to 2 previous errors