For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
23 lines
557 B
Plaintext
23 lines
557 B
Plaintext
warning: unreachable statement
|
|
--> $DIR/goto.rs:143: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:133:8
|
|
|
|
|
LL | #[warn(unreachable_code)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
warning: 1 warning emitted
|
|
|