blob: 0192f4359e590b4d9da8507521a70ca3d897a9bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
error: unreachable statement
--> $DIR/expr_again.rs:8:9
|
LL | continue;
| -------- any code following this expression is unreachable
LL | println!("hi");
| ^^^^^^^^^^^^^^^ unreachable statement
|
note: the lint level is defined here
--> $DIR/expr_again.rs:3:9
|
LL | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
= note: this error originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
|