Skip to content

Commit 5069464

Browse files
committed
Rust: Distinguish internal/external items in path resolution
1 parent 0d7a2f6 commit 5069464

File tree

4 files changed

+208
-132
lines changed

4 files changed

+208
-132
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ module Stages {
120120
or
121121
exists(resolvePath(_))
122122
or
123-
exists(any(ItemNode i).getASuccessorFull(_))
123+
exists(any(ItemNode i).getASuccessorFull(_, _))
124124
or
125-
exists(any(ItemNode i).getASuccessorRec(_))
125+
exists(any(ItemNode i).getASuccessorRec(_, _))
126126
or
127127
exists(any(ImplOrTraitItemNode i).getASelfPath())
128128
or

0 commit comments

Comments
 (0)