Skip to content

Commit 6b25bea

Browse files
committed
Rust: Accept consistency results
1 parent a3c7d5a commit 6b25bea

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

rust/ql/test/extractor-tests/generated/MacroItems/CONSISTENCY/DataFlowConsistency.expected

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ uniqueType
55
| common_definitions.rs:3:15:3:25 | Param | Node should have one type but has 0. |
66
| file://:0:0:0:0 | Param | Node should have one type but has 0. |
77
uniqueNodeLocation
8+
| file://:0:0:0:0 | BlockExpr | Node should have one location but has 0. |
9+
| file://:0:0:0:0 | MethodCallExpr | Node should have one location but has 0. |
10+
| file://:0:0:0:0 | MethodCallExpr | Node should have one location but has 0. |
811
| file://:0:0:0:0 | Param | Node should have one location but has 0. |
12+
| file://:0:0:0:0 | PathExpr | Node should have one location but has 0. |
913
missingLocation
10-
| Nodes without location: 1 |
14+
| Nodes without location: 5 |
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
uniqueEnclosingCallable
2+
| main.rs:6:18:6:27 | Param | Node should have one enclosing callable but has 0. |
3+
| main.rs:25:21:25:26 | Param | Node should have one enclosing callable but has 0. |
4+
| main.rs:25:29:25:34 | Param | Node should have one enclosing callable but has 0. |
5+
| main.rs:25:37:25:50 | Param | Node should have one enclosing callable but has 0. |
16
uniqueCallEnclosingCallable
27
| main.rs:3:14:3:33 | CallExpr | Call should have one enclosing callable but has 0. |
3-
| main.rs:7:5:7:14 | CallExpr | Call should have one enclosing callable but has 0. |
8+
| main.rs:33:5:33:14 | CallExpr | Call should have one enclosing callable but has 0. |
9+
| main.rs:34:5:34:23 | CallExpr | Call should have one enclosing callable but has 0. |
10+
uniqueType
11+
| main.rs:6:18:6:27 | Param | Node should have one type but has 0. |
12+
| main.rs:25:21:25:26 | Param | Node should have one type but has 0. |
13+
| main.rs:25:29:25:34 | Param | Node should have one type but has 0. |
14+
| main.rs:25:37:25:50 | Param | Node should have one type but has 0. |

0 commit comments

Comments
 (0)