mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
14 lines
229 B
Plaintext
14 lines
229 B
Plaintext
private import codeql.rust.elements
|
|
|
|
cached
|
|
predicate toBeTested(Element e) {
|
|
exists(File f |
|
|
f.getName().matches("%rust/ql/test%") and
|
|
(
|
|
e = f
|
|
or
|
|
e.(Locatable).getLocation().getFile() = f
|
|
)
|
|
)
|
|
}
|