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

Member predicate Impl::Variable::getLetStmt

Gets the let statement that introduces this variable, if any.

This is restricted to simple let statements of the form let x = ...;.

LetStmt getLetStmt()