mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
18 lines
534 B
Plaintext
18 lines
534 B
Plaintext
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
|
|
|