Skip to content

Commit ffc6ca4

Browse files
committed
Rust: Update diagnostics for documentation comments
Regenerate line-count expectations now that documentation comments are extracted as grammar nodes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 612c2b22-3121-4c83-9656-bb0f4abb2a8a
1 parent 295fc87 commit ffc6ca4

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| 60 |
1+
| 67 |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| 60 |
1+
| 67 |

‎rust/ql/test/query-tests/diagnostics/LinesOfUserCodeInFiles.expected‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
| my_struct.rs:0:0:0:0 | my_struct.rs | 20 |
2-
| comments.rs:0:0:0:0 | comments.rs | 13 |
3-
| main.rs:0:0:0:0 | main.rs | 8 |
4-
| my_macro.rs:0:0:0:0 | my_macro.rs | 8 |
1+
| my_struct.rs:0:0:0:0 | my_struct.rs | 21 |
2+
| comments.rs:0:0:0:0 | comments.rs | 17 |
3+
| main.rs:0:0:0:0 | main.rs | 9 |
4+
| my_macro.rs:0:0:0:0 | my_macro.rs | 9 |
55
| lib.rs:0:0:0:0 | lib.rs | 5 |
66
| does_not_compile.rs:0:0:0:0 | does_not_compile.rs | 3 |
77
| error.rs:0:0:0:0 | error.rs | 3 |

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
| Inconsistencies - Path resolution | 0 |
1010
| Inconsistencies - SSA | 0 |
1111
| Inconsistencies - data flow | 0 |
12-
| Lines of code extracted | 60 |
13-
| Lines of user code extracted | 60 |
12+
| Lines of code extracted | 67 |
13+
| Lines of user code extracted | 67 |
1414
| Macro calls - resolved | 8 |
1515
| Macro calls - total | 9 |
1616
| Macro calls - unresolved | 1 |

0 commit comments

Comments
 (0)