Files
codeql/rust/ql/integration-tests/hello-workspace/path-resolution.ql
2025-11-19 09:06:41 +01:00

11 lines
257 B
Plaintext

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