mirror of
https://github.com/github/codeql.git
synced 2026-04-20 06:24:03 +02:00
14 lines
546 B
Plaintext
Generated
14 lines
546 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from LifetimeParam x, int getNumberOfAttrs, string hasLifetime, string hasTypeBoundList
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getNumberOfAttrs = x.getNumberOfAttrs() and
|
|
(if x.hasLifetime() then hasLifetime = "yes" else hasLifetime = "no") and
|
|
if x.hasTypeBoundList() then hasTypeBoundList = "yes" else hasTypeBoundList = "no"
|
|
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasLifetime:", hasLifetime, "hasTypeBoundList:",
|
|
hasTypeBoundList
|