mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
396 B
Plaintext
Generated
15 lines
396 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(RefPat x, string isMut__label, string isMut) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
isMut__label = "isMut:" and
|
|
if x.isMut() then isMut = "yes" else isMut = "no"
|
|
}
|
|
|
|
query predicate getPat(RefPat x, Pat getPat) {
|
|
toBeTested(x) and not x.isUnknown() and getPat = x.getPat()
|
|
}
|