Skip to content

Commit e6150e2

Browse files
authored
Merge pull request #20243 from hvitved/rust/canonical-path-transitive-deps
Rust: Take transitive dependencies into account when computing canonical paths
2 parents f1ca0ec + 60b2cf6 commit e6150e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/internal/PathResolution.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ class ImplItemNode extends ImplOrTraitItemNode instanceof Impl {
615615
if this.hasCanonicalPath(c2)
616616
then c1 = c2
617617
else (
618-
c2 = c1.getADependency() or c1 = c2.getADependency()
618+
c2 = c1.getADependency+() or c1 = c2.getADependency+()
619619
)
620620
)
621621
}

0 commit comments

Comments
 (0)