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

Predicate Flow::ConsistencyChecks::uniqueCallableLocation

Holds if relevant callable c does not have exactly one location, as described by msg.

Import path

import codeql.dataflow.VariableCapture
predicate uniqueCallableLocation(RelevantCallable c, string msg)