mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
11 lines
299 B
Plaintext
11 lines
299 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.isInMacroExpansion() and i = resolvePath(p)
|
|
}
|