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

Module Generated

INTERNAL: This module contains the fully generated definition of LetStmt and should not be referenced directly.

Import path

import codeql.rust.elements.internal.generated.LetStmt

Classes

LetStmt

A let statement. For example: rust let x = 42; let x: i32 = 42; let x: i32; let x; let (x, y) = (1, 2); let Some(x) = std::env::var("FOO") else { return; }; INTERNAL: Do not reference the Generated::LetStmt class directly. Use the subclass LetStmt, where the following predicates are available.