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

23 lines
568 B
Plaintext
Raw Normal View History

error: unreachable expression
2018-12-25 08:56:47 -07:00
--> $DIR/expr_block.rs:10:9
|
2018-02-23 03:42:32 +03:00
LL | 22 //~ ERROR unreachable
| ^^
|
note: lint level defined here
2018-12-25 08:56:47 -07:00
--> $DIR/expr_block.rs:4:9
|
2018-02-23 03:42:32 +03:00
LL | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: unreachable statement
2018-12-25 08:56:47 -07:00
--> $DIR/expr_block.rs:25:9
|
2018-02-23 03:42:32 +03:00
LL | 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