Files
codeql/rust/ql/test/extractor-tests/generated/LifetimeParam/LifetimeParam.ql
2025-06-25 12:02:13 +02:00

18 lines
619 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(LifetimeParam x) { toBeTested(x) and not x.isUnknown() }
query predicate getAttr(LifetimeParam x, int index, Attr getAttr) {
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
}
query predicate getLifetime(LifetimeParam x, Lifetime getLifetime) {
toBeTested(x) and not x.isUnknown() and getLifetime = x.getLifetime()
}
query predicate getTypeBoundList(LifetimeParam x, TypeBoundList getTypeBoundList) {
toBeTested(x) and not x.isUnknown() and getTypeBoundList = x.getTypeBoundList()
}