CodeQL library for Rust
codeql/rust-all 0.2.12 (changelog, source)
Search

Class Raw::AsmLabel

INTERNAL: Do not use. A label in an inline assembly block.

For example:

use core::arch::asm;
asm!(
    "jmp {}",
    label { println!("Jumped from asm!"); }
//  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
);

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getBlockExpr

Gets the block expression of this asm label, if it exists.

toString