blob: f8f09f32f6cbc9a00a21d199306adaa687648953 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
warning: unreachable statement
--> $DIR/goto.rs:144:9
|
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
--> $DIR/goto.rs:134:8
|
LL | #[warn(unreachable_code)]
| ^^^^^^^^^^^^^^^^
warning: 1 warning emitted
|