Files
codeql/rust/ql/test/extractor-tests/generated/WherePred/WherePred.ql
2025-08-12 17:04:26 +02:00

22 lines
752 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(WherePred x) { toBeTested(x) and not x.isUnknown() }
query predicate getForBinder(WherePred x, ForBinder getForBinder) {
toBeTested(x) and not x.isUnknown() and getForBinder = x.getForBinder()
}
query predicate getLifetime(WherePred x, Lifetime getLifetime) {
toBeTested(x) and not x.isUnknown() and getLifetime = x.getLifetime()
}
query predicate getTypeRepr(WherePred x, TypeRepr getTypeRepr) {
toBeTested(x) and not x.isUnknown() and getTypeRepr = x.getTypeRepr()
}
query predicate getTypeBoundList(WherePred x, TypeBoundList getTypeBoundList) {
toBeTested(x) and not x.isUnknown() and getTypeBoundList = x.getTypeBoundList()
}