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

Class Raw::LetElse

INTERNAL: Do not use. An else block in a let-else statement.

For example:

let Some(x) = opt else {
    return;
};
//                ^^^^^^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getBlockExpr

Gets the block expression of this let else, if it exists.

toString