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 {
129
129
130
130
override CfgNode getCfgNode ( ) { result = n }
131
131
132
- override CfgScope getCfgScope ( ) { result = n .getAstNode ( ) .getEnclosingCallable ( ) }
132
+ override CfgScope getCfgScope ( ) { result = n .getAstNode ( ) .getEnclosingCfgScope ( ) }
133
133
134
134
override Location getLocation ( ) { result = n .getAstNode ( ) .getLocation ( ) }
135
135
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ uniqueNodeLocation
4
4
| file://:0:0:0:0 | BlockExpr | Node should have one location but has 0. |
5
5
| file://:0:0:0:0 | Param | Node should have one location but has 0. |
6
6
| 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. |
7
8
missingLocation
8
- | Nodes without location: 5 |
9
+ | Nodes without location: 6 |
You can’t perform that action at this time.
0 commit comments