Skip to content

Commit e3b3e7c

Browse files
committed
Rust: Visibility check for qualified path resolution
1 parent bdeeb32 commit e3b3e7c

File tree

4 files changed

+130
-83
lines changed

4 files changed

+130
-83
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)