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

Member predicate LocationImpl::Location::hasLocationFileInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Providing locations in CodeQL queries.

predicate hasLocationFileInfo(File file, int startline, int startcolumn, int endline, int endcolumn)