mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
13 lines
308 B
Plaintext
13 lines
308 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(PathExt p, ItemNode i) {
|
|
toBeTested(p) and
|
|
not p.isFromMacroExpansion() and
|
|
i = resolvePath(p)
|
|
}
|