Files
codeql/rust/ql/test/extractor-tests/generated/ConstBlockPat/ConstBlockPat.ql
Arthur Baars a9423f4bdb Rust: codegen
2024-09-20 15:50:59 +02:00

11 lines
288 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
from ConstBlockPat x, string hasBlockExpr
where
toBeTested(x) and
not x.isUnknown() and
if x.hasBlockExpr() then hasBlockExpr = "yes" else hasBlockExpr = "no"
select x, "hasBlockExpr:", hasBlockExpr