2023-12-27 22:57:17 +00:00
|
|
|
warning: unreachable statement
|
2024-10-11 00:26:21 +01:00
|
|
|
--> $DIR/goto.rs:143:9
|
2023-12-27 22:57:17 +00:00
|
|
|
|
|
|
|
|
|
LL | / asm!(
|
|
|
|
|
LL | | "jmp {}",
|
|
|
|
|
LL | | label {
|
|
|
|
|
LL | | return;
|
|
|
|
|
LL | | },
|
|
|
|
|
LL | | options(noreturn)
|
|
|
|
|
LL | | );
|
|
|
|
|
| |_________- any code following this expression is unreachable
|
|
|
|
|
LL | unreachable!();
|
|
|
|
|
| ^^^^^^^^^^^^^^ unreachable statement
|
|
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2024-10-11 00:26:21 +01:00
|
|
|
--> $DIR/goto.rs:133:8
|
2023-12-27 22:57:17 +00:00
|
|
|
|
|
|
|
|
|
LL | #[warn(unreachable_code)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
warning: 1 warning emitted
|
|
|
|
|
|