Files
codeql/rust/ql/test/extractor-tests/generated/StructPat/StructPat.ql
Josh Brown f39c1141d8 Revert "Merge pull request #257 from microsoft/jb1/reapply-22.1-tmp"
This reverts commit 6d496ee073, reversing
changes made to 866977b6c5.
2025-08-11 12:45:01 -07:00

22 lines
808 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(StructPat x) { toBeTested(x) and not x.isUnknown() }
query predicate getResolvedPath(StructPat x, string getResolvedPath) {
toBeTested(x) and not x.isUnknown() and getResolvedPath = x.getResolvedPath()
}
query predicate getResolvedCrateOrigin(StructPat x, string getResolvedCrateOrigin) {
toBeTested(x) and not x.isUnknown() and getResolvedCrateOrigin = x.getResolvedCrateOrigin()
}
query predicate getPath(StructPat x, Path getPath) {
toBeTested(x) and not x.isUnknown() and getPath = x.getPath()
}
query predicate getStructPatFieldList(StructPat x, StructPatFieldList getStructPatFieldList) {
toBeTested(x) and not x.isUnknown() and getStructPatFieldList = x.getStructPatFieldList()
}