Skip to content

Commit 796da12

Browse files
committed
Rust: update expected output
1 parent 0b3b95a commit 796da12

File tree

16 files changed

+52
-9
lines changed

16 files changed

+52
-9
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| gen_arg_list.rs:5:5:5:11 | ArgList | getNumberOfArgs: | 1 |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| gen_arg_list.rs:5:5:5:11 | ArgList | 0 | gen_arg_list.rs:5:5:5:11 | "not yet implemented" |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| gen_macro_call.rs:5:5:5:11 | MacroCall | getNumberOfAttrs: | 0 | hasPath: | yes | hasTokenTree: | yes |
1+
| gen_macro_call.rs:5:5:5:11 | MacroCall | getNumberOfAttrs: | 0 | hasPath: | yes | hasTokenTree: | yes | hasExpanded: | yes |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| gen_macro_call.rs:5:5:5:11 | MacroCall | gen_macro_call.rs:5:5:5:11 | MacroStmts |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
| gen_name_ref.rs:5:5:5:8 | NameRef | hasText: | yes |
2+
| gen_name_ref.rs:5:5:5:11 | NameRef | hasText: | yes |
3+
| gen_name_ref.rs:5:5:5:11 | NameRef | hasText: | yes |
4+
| gen_name_ref.rs:5:5:5:11 | NameRef | hasText: | yes |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
| gen_name_ref.rs:5:5:5:8 | NameRef | todo |
2+
| gen_name_ref.rs:5:5:5:11 | NameRef | $crate |
3+
| gen_name_ref.rs:5:5:5:11 | NameRef | panic |
4+
| gen_name_ref.rs:5:5:5:11 | NameRef | panicking |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
| gen_path_segment.rs:5:5:5:8 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
2+
| gen_path_segment.rs:5:5:5:11 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
3+
| gen_path_segment.rs:5:5:5:11 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
4+
| gen_path_segment.rs:5:5:5:11 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
| gen_path_segment.rs:5:5:5:8 | PathSegment | gen_path_segment.rs:5:5:5:8 | NameRef |
2+
| gen_path_segment.rs:5:5:5:11 | PathSegment | gen_path_segment.rs:5:5:5:11 | NameRef |
3+
| gen_path_segment.rs:5:5:5:11 | PathSegment | gen_path_segment.rs:5:5:5:11 | NameRef |
4+
| gen_path_segment.rs:5:5:5:11 | PathSegment | gen_path_segment.rs:5:5:5:11 | NameRef |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
| lib.rs:3:9:3:8 | expected `;` or `{` |
22
| lib.rs:3:9:3:8 | expected an item |
3+
| lib.rs:3:10:3:21 | macro expansion failed: could not resolve macro 'identifiers' |
34
| lib.rs:3:21:3:20 | expected BANG |
45
| lib.rs:3:21:3:20 | expected `{`, `[`, `(` |

rust/ql/test/library-tests/variables/variables.expected

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ variable
7676
| variables.rs:366:13:366:13 | x |
7777
| variables.rs:367:13:367:15 | cap |
7878
variableAccess
79+
| variables.rs:4:20:4:20 | s | variables.rs:3:14:3:14 | s |
80+
| variables.rs:8:20:8:20 | i | variables.rs:7:14:7:14 | i |
7981
| variables.rs:13:15:13:16 | x1 | variables.rs:12:9:12:10 | x1 |
8082
| variables.rs:18:15:18:16 | x2 | variables.rs:17:13:17:14 | x2 |
8183
| variables.rs:19:5:19:6 | x2 | variables.rs:17:13:17:14 | x2 |
@@ -183,6 +185,8 @@ variableWriteAccess
183185
| variables.rs:278:9:278:10 | b4 | variables.rs:269:13:269:14 | b4 |
184186
| variables.rs:279:9:279:11 | a10 | variables.rs:268:13:268:15 | a10 |
185187
variableReadAccess
188+
| variables.rs:4:20:4:20 | s | variables.rs:3:14:3:14 | s |
189+
| variables.rs:8:20:8:20 | i | variables.rs:7:14:7:14 | i |
186190
| variables.rs:13:15:13:16 | x1 | variables.rs:12:9:12:10 | x1 |
187191
| variables.rs:18:15:18:16 | x2 | variables.rs:17:13:17:14 | x2 |
188192
| variables.rs:20:15:20:16 | x2 | variables.rs:17:13:17:14 | x2 |

0 commit comments

Comments
 (0)