mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
305 B
Plaintext
13 lines
305 B
Plaintext
import rust
|
|
import codeql.rust.internal.PathResolution
|
|
import utils.test.PathResolutionInlineExpectationsTest
|
|
import TestUtils
|
|
|
|
query predicate mod(Module m) { toBeTested(m) }
|
|
|
|
query predicate resolvePath(Path p, ItemNode i) {
|
|
toBeTested(p) and
|
|
not p.isFromMacroExpansion() and
|
|
i = resolvePath(p)
|
|
}
|