mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 21:24:12 +00:00
17 lines
441 B
Plaintext
17 lines
441 B
Plaintext
error: unreachable statement
|
|
--> $DIR/lint-attr-non-item-node.rs:7:9
|
|
|
|
|
LL | break;
|
|
| ----- any code following this expression is unreachable
|
|
LL | "unreachable";
|
|
| ^^^^^^^^^^^^^^ unreachable statement
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/lint-attr-non-item-node.rs:4:12
|
|
|
|
|
LL | #[deny(unreachable_code)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|