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

Predicate Flow::ConsistencyChecks::uniqueEnclosingCallable

Holds if bb does not have exactly one enclosing callable, as described by msg.

Import path

import codeql.dataflow.VariableCapture
predicate uniqueEnclosingCallable(RelevantBasicBlock bb, string msg)