mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
13 lines
508 B
Plaintext
Generated
13 lines
508 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
from UseTree x, string hasPath, string hasRename, string hasUseTreeList
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
(if x.hasPath() then hasPath = "yes" else hasPath = "no") and
|
|
(if x.hasRename() then hasRename = "yes" else hasRename = "no") and
|
|
if x.hasUseTreeList() then hasUseTreeList = "yes" else hasUseTreeList = "no"
|
|
select x, "hasPath:", hasPath, "hasRename:", hasRename, "hasUseTreeList:", hasUseTreeList
|