Files
codeql/rust/ql/integration-tests/hello-workspace/path-resolution.ql
2025-10-01 14:41:28 +02:00

11 lines
262 B
Plaintext

import rust
import codeql.rust.internal.PathResolution
import utils.test.PathResolutionInlineExpectationsTest
query predicate resolveDollarCrate(RelevantPath p, Crate c) {
c = resolvePath(p) and
p.isDollarCrate() and
p.fromSource() and
c.fromSource()
}