Skip to content

Commit c15e12c

Browse files
committed
Rust: Accept test changes
1 parent 785025f commit c15e12c

File tree

6 files changed

+5
-19
lines changed

6 files changed

+5
-19
lines changed

rust/ql/test/library-tests/elements/builtintypes/BuiltinTypes.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
| struct Array | |
2-
| struct Ptr | |
2+
| struct PtrConst | |
33
| struct PtrMut | |
44
| struct Ref | |
55
| struct RefMut | |

rust/ql/test/library-tests/type-inference/CONSISTENCY/PathResolutionConsistency.expected

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ multipleCallTargets
1111
| main.rs:2642:13:2642:31 | ...::from(...) |
1212
| main.rs:2643:13:2643:31 | ...::from(...) |
1313
| main.rs:2644:13:2644:31 | ...::from(...) |
14+
multiplePathResolutions
15+
| main.rs:1818:26:1818:33 | <...> |
16+
| main.rs:1819:17:1819:26 | <...> |

rust/ql/test/query-tests/diagnostics/SummaryStatsReduced.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Files extracted - without errors % | 57 |
77
| Inconsistencies - AST | 0 |
88
| Inconsistencies - CFG | 0 |
9-
| Inconsistencies - Path resolution | 1 |
9+
| Inconsistencies - Path resolution | 197 |
1010
| Inconsistencies - SSA | 0 |
1111
| Inconsistencies - data flow | 0 |
1212
| Lines of code extracted | 60 |

rust/ql/test/query-tests/security/CWE-696/CONSISTENCY/PathResolutionConsistency.expected

Lines changed: 0 additions & 2 deletions
This file was deleted.

rust/ql/test/query-tests/security/CWE-770/CONSISTENCY/PathResolutionConsistency.expected

Lines changed: 0 additions & 7 deletions
This file was deleted.

rust/ql/test/query-tests/security/CWE-825/CONSISTENCY/PathResolutionConsistency.expected

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
multipleCallTargets
2-
| deallocation.rs:162:5:162:17 | ptr.is_null() |
3-
| deallocation.rs:174:7:174:19 | ptr.is_null() |
4-
| deallocation.rs:186:5:186:17 | ptr.is_null() |
5-
| deallocation.rs:190:5:190:17 | ptr.is_null() |
6-
| deallocation.rs:194:6:194:18 | ptr.is_null() |
7-
| deallocation.rs:202:5:202:17 | ptr.is_null() |
8-
| deallocation.rs:210:25:210:37 | ptr.is_null() |
9-
| deallocation.rs:225:5:225:23 | const_ptr.is_null() |
102
| deallocation.rs:354:11:354:29 | ...::from(...) |
113
| deallocation.rs:355:11:355:29 | ...::from(...) |
124
| lifetime.rs:610:13:610:31 | ...::from(...) |

0 commit comments

Comments
 (0)