Files
codeql/rust/ql/test/extractor-tests/generated/MatchGuard/MatchGuard.ql
Arthur Baars db06ad2ac3 Rust: codegen
2024-09-20 15:51:03 +02:00

11 lines
285 B
Plaintext
Generated

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