Skip to content

Commit 6ae9792

Browse files
committed
Rust: Accept inconsistencies
1 parent 23bfa8a commit 6ae9792

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
models
22
edges
3+
| main.rs:21:13:21:21 | CallExpr : unit | main.rs:22:10:22:10 | s | provenance | |
4+
| main.rs:32:13:32:21 | CallExpr : unit | main.rs:33:10:33:10 | s | provenance | |
35
nodes
46
| main.rs:17:10:17:18 | CallExpr | semmle.label | CallExpr |
7+
| main.rs:21:13:21:21 | CallExpr : unit | semmle.label | CallExpr : unit |
8+
| main.rs:22:10:22:10 | s | semmle.label | s |
9+
| main.rs:32:13:32:21 | CallExpr : unit | semmle.label | CallExpr : unit |
10+
| main.rs:33:10:33:10 | s | semmle.label | s |
511
subpaths
612
testFailures
7-
| main.rs:22:14:22:32 | Comment | Missing result: hasValueFlow=1 |
8-
| main.rs:33:14:33:32 | Comment | Missing result: hasValueFlow=1 |
913
#select
1014
| main.rs:17:10:17:18 | CallExpr | main.rs:17:10:17:18 | CallExpr | main.rs:17:10:17:18 | CallExpr | $@ | main.rs:17:10:17:18 | CallExpr | CallExpr |
15+
| main.rs:22:10:22:10 | s | main.rs:21:13:21:21 | CallExpr : unit | main.rs:22:10:22:10 | s | $@ | main.rs:21:13:21:21 | CallExpr : unit | CallExpr : unit |
16+
| main.rs:33:10:33:10 | s | main.rs:32:13:32:21 | CallExpr : unit | main.rs:33:10:33:10 | s | $@ | main.rs:32:13:32:21 | CallExpr : unit | CallExpr : unit |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
uniqueEnclosingCallable
2+
| main.rs:5:29:5:33 | width | Node should have one enclosing callable but has 0. |
3+
| main.rs:5:36:5:44 | precision | Node should have one enclosing callable but has 0. |
4+
| main.rs:9:22:9:27 | people | Node should have one enclosing callable but has 0. |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
uniqueEnclosingCallable
2+
| main.rs:5:29:5:33 | width | Node should have one enclosing callable but has 0. |
3+
| main.rs:5:36:5:44 | precision | Node should have one enclosing callable but has 0. |
4+
| main.rs:16:22:16:27 | people | Node should have one enclosing callable but has 0. |
5+
| main.rs:27:23:27:27 | width | Node should have one enclosing callable but has 0. |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
localFlowIsLocal
2+
| variables.rs:400:9:400:9 | x | variables.rs:402:15:404:5 | [SSA] <captured entry> x | Local flow step does not preserve enclosing callable. |
3+
| variables.rs:410:9:410:13 | x | variables.rs:412:20:414:5 | [SSA] <captured entry> x | Local flow step does not preserve enclosing callable. |
4+
| variables.rs:418:9:418:13 | y | variables.rs:421:9:421:9 | [SSA] y | Local flow step does not preserve enclosing callable. |
5+
| variables.rs:436:9:436:13 | i | variables.rs:438:9:438:9 | [SSA] i | Local flow step does not preserve enclosing callable. |
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
uniqueEnclosingCallable
2+
| main.rs:194:25:194:25 | x | Node should have one enclosing callable but has 0. |
3+
| main.rs:198:28:198:28 | x | Node should have one enclosing callable but has 0. |
4+
| main.rs:202:28:202:28 | x | Node should have one enclosing callable but has 0. |
5+
| main.rs:206:28:206:28 | x | Node should have one enclosing callable but has 0. |
6+
localFlowIsLocal
7+
| main.rs:432:9:432:10 | i6 | main.rs:434:20:434:44 | [SSA] <captured entry> i6 | Local flow step does not preserve enclosing callable. |

0 commit comments

Comments
 (0)