File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
lib/codeql/rust/dataflow/internal Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ module Node {
129129
130130 override CfgNode getCfgNode ( ) { result = n }
131131
132- override CfgScope getCfgScope ( ) { result = n .getAstNode ( ) .getEnclosingCallable ( ) }
132+ override CfgScope getCfgScope ( ) { result = n .getAstNode ( ) .getEnclosingCfgScope ( ) }
133133
134134 override Location getLocation ( ) { result = n .getAstNode ( ) .getLocation ( ) }
135135
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ uniqueNodeLocation
44| file://:0:0:0:0 | BlockExpr | Node should have one location but has 0. |
55| file://:0:0:0:0 | Param | Node should have one location but has 0. |
66| file://:0:0:0:0 | PathExpr | Node should have one location but has 0. |
7+ | file://:0:0:0:0 | path | Node should have one location but has 0. |
78missingLocation
8- | Nodes without location: 5 |
9+ | Nodes without location: 6 |
You can’t perform that action at this time.
0 commit comments