mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Rust: Codegen.
This commit is contained in:
@@ -4,14 +4,6 @@ import TestUtils
|
||||
|
||||
query predicate instances(Struct x) { toBeTested(x) and not x.isUnknown() }
|
||||
|
||||
query predicate getExtendedCanonicalPath(Struct x, string getExtendedCanonicalPath) {
|
||||
toBeTested(x) and not x.isUnknown() and getExtendedCanonicalPath = x.getExtendedCanonicalPath()
|
||||
}
|
||||
|
||||
query predicate getCrateOrigin(Struct x, string getCrateOrigin) {
|
||||
toBeTested(x) and not x.isUnknown() and getCrateOrigin = x.getCrateOrigin()
|
||||
}
|
||||
|
||||
query predicate getAttributeMacroExpansion(Struct x, MacroItems getAttributeMacroExpansion) {
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
|
||||
Reference in New Issue
Block a user