Files
codeql/rust/ql/test/extractor-tests/generated/RefPat/RefPat.ql
2024-10-10 14:25:06 +02:00

12 lines
334 B
Plaintext
Generated

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