Skip to content

Commit 92cced2

Browse files
authored
Merge pull request #20496 from hvitved/rust/path-resolution-use-visibility
Rust: Visibility check for qualified path resolution
2 parents 26aa938 + 78641b4 commit 92cced2

File tree

6 files changed

+203
-112
lines changed

6 files changed

+203
-112
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module Stages {
117117
or
118118
exists(resolvePath(_))
119119
or
120-
exists(any(ItemNode i).getASuccessor(_, _))
120+
exists(any(ItemNode i).getASuccessor(_, _, _))
121121
or
122122
exists(any(ImplOrTraitItemNode i).getASelfPath())
123123
or

0 commit comments

Comments
 (0)