-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust: accept test changes due to
toString
implementations
- Loading branch information
Paolo Tranquilli
committed
Oct 31, 2024
1 parent
cee2ed0
commit e5a199b
Showing
31 changed files
with
92 additions
and
92 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/FieldExpr/FieldExpr_getNameRef.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_field_expr.rs:5:5:5:9 | FieldExpr | gen_field_expr.rs:5:7:5:9 | NameRef | | ||
| gen_field_expr.rs:5:5:5:9 | FieldExpr | gen_field_expr.rs:5:7:5:9 | foo | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/Function/Function_getName.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_function.rs:3:1:4:38 | foo | gen_function.rs:4:4:4:6 | Name | | ||
| gen_function.rs:7:5:7:13 | bar | gen_function.rs:7:8:7:10 | Name | | ||
| gen_function.rs:3:1:4:38 | foo | gen_function.rs:4:4:4:6 | foo | | ||
| gen_function.rs:7:5:7:13 | bar | gen_function.rs:7:8:7:10 | bar | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/IdentPat/IdentPat_getName.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_ident_pat.rs:6:22:6:22 | y | gen_ident_pat.rs:6:22:6:22 | Name | | ||
| gen_ident_pat.rs:10:9:10:25 | y | gen_ident_pat.rs:10:9:10:9 | Name | | ||
| gen_ident_pat.rs:6:22:6:22 | y | gen_ident_pat.rs:6:22:6:22 | y | | ||
| gen_ident_pat.rs:10:9:10:25 | y | gen_ident_pat.rs:10:9:10:9 | y | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/MacroCall/MacroCall_getPath.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_macro_call.rs:5:5:5:11 | MacroCall | gen_macro_call.rs:5:5:5:8 | Path | | ||
| gen_macro_call.rs:5:5:5:11 | MacroCall | gen_macro_call.rs:5:5:5:8 | todo | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_method_call_expr.rs:5:5:5:13 | MethodCallExpr | hasArgList: | yes | getNumberOfAttrs: | 0 | hasGenericArgList: | no | hasNameRef: | yes | hasReceiver: | yes | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | | ||
| gen_method_call_expr.rs:6:5:6:25 | MethodCallExpr | hasArgList: | yes | getNumberOfAttrs: | 0 | hasGenericArgList: | yes | hasNameRef: | yes | hasReceiver: | yes | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | | ||
| gen_method_call_expr.rs:5:5:5:13 | ... .foo(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasGenericArgList: | no | hasNameRef: | yes | hasReceiver: | yes | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | hasArgList: | yes | getNumberOfAttrs: | 0 | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasGenericArgList: | yes | hasNameRef: | yes | hasReceiver: | yes | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getArgList.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_method_call_expr.rs:5:5:5:13 | MethodCallExpr | gen_method_call_expr.rs:5:10:5:13 | ArgList | | ||
| gen_method_call_expr.rs:6:5:6:25 | MethodCallExpr | gen_method_call_expr.rs:6:22:6:25 | ArgList | | ||
| gen_method_call_expr.rs:5:5:5:13 | ... .foo(...) | gen_method_call_expr.rs:5:10:5:13 | ArgList | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | gen_method_call_expr.rs:6:22:6:25 | ArgList | |
2 changes: 1 addition & 1 deletion
2
...l/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getGenericArgList.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_method_call_expr.rs:6:5:6:25 | MethodCallExpr | gen_method_call_expr.rs:6:10:6:21 | GenericArgList | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | gen_method_call_expr.rs:6:10:6:21 | GenericArgList | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getNameRef.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_method_call_expr.rs:5:5:5:13 | MethodCallExpr | gen_method_call_expr.rs:5:7:5:9 | NameRef | | ||
| gen_method_call_expr.rs:6:5:6:25 | MethodCallExpr | gen_method_call_expr.rs:6:7:6:9 | NameRef | | ||
| gen_method_call_expr.rs:5:5:5:13 | ... .foo(...) | gen_method_call_expr.rs:5:7:5:9 | foo | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | gen_method_call_expr.rs:6:7:6:9 | foo | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/MethodCallExpr/MethodCallExpr_getReceiver.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_method_call_expr.rs:5:5:5:13 | MethodCallExpr | gen_method_call_expr.rs:5:5:5:5 | PathExpr | | ||
| gen_method_call_expr.rs:6:5:6:25 | MethodCallExpr | gen_method_call_expr.rs:6:5:6:5 | PathExpr | | ||
| gen_method_call_expr.rs:5:5:5:13 | ... .foo(...) | gen_method_call_expr.rs:5:5:5:5 | PathExpr | | ||
| gen_method_call_expr.rs:6:5:6:25 | ... .foo(...) | gen_method_call_expr.rs:6:5:6:5 | PathExpr | |
6 changes: 3 additions & 3 deletions
6
rust/ql/test/extractor-tests/generated/Module/Module_getName.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
| gen_module.rs:3:1:4:8 | Module | gen_module.rs:4:5:4:7 | Name | | ||
| gen_module.rs:5:1:7:1 | Module | gen_module.rs:5:5:5:7 | Name | | ||
| lib.rs:1:1:1:15 | Module | lib.rs:1:5:1:14 | Name | | ||
| gen_module.rs:3:1:4:8 | Module | gen_module.rs:4:5:4:7 | foo | | ||
| gen_module.rs:5:1:7:1 | Module | gen_module.rs:5:5:5:7 | bar | | ||
| lib.rs:1:1:1:15 | Module | lib.rs:1:5:1:14 | gen_module | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_name.rs:3:4:3:12 | Name | hasText: | yes | | ||
| lib.rs:1:5:1:12 | Name | hasText: | yes | | ||
| gen_name.rs:3:4:3:12 | test_name | hasText: | yes | | ||
| lib.rs:1:5:1:12 | gen_name | hasText: | yes | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/Name/Name_getText.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_name.rs:3:4:3:12 | Name | test_name | | ||
| lib.rs:1:5:1:12 | Name | gen_name | | ||
| gen_name.rs:3:4:3:12 | test_name | test_name | | ||
| lib.rs:1:5:1:12 | gen_name | gen_name | |
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/NameRef/NameRef.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_name_ref.rs:5:5:5:8 | NameRef | hasText: | yes | | ||
| gen_name_ref.rs:5:5:5:11 | NameRef | hasText: | yes | | ||
| gen_name_ref.rs:5:5:5:11 | NameRef | hasText: | yes | | ||
| gen_name_ref.rs:5:5:5:11 | NameRef | hasText: | yes | | ||
| gen_name_ref.rs:5:5:5:8 | todo | hasText: | yes | | ||
| gen_name_ref.rs:5:5:5:11 | $crate | hasText: | yes | | ||
| gen_name_ref.rs:5:5:5:11 | panic | hasText: | yes | | ||
| gen_name_ref.rs:5:5:5:11 | panicking | hasText: | yes | |
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/NameRef/NameRef_getText.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_name_ref.rs:5:5:5:8 | NameRef | todo | | ||
| gen_name_ref.rs:5:5:5:11 | NameRef | $crate | | ||
| gen_name_ref.rs:5:5:5:11 | NameRef | panic | | ||
| gen_name_ref.rs:5:5:5:11 | NameRef | panicking | | ||
| gen_name_ref.rs:5:5:5:8 | todo | todo | | ||
| gen_name_ref.rs:5:5:5:11 | $crate | $crate | | ||
| gen_name_ref.rs:5:5:5:11 | panic | panic | | ||
| gen_name_ref.rs:5:5:5:11 | panicking | panicking | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/OffsetOfExpr/OffsetOfExpr_getField.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | 0 | gen_offset_of_expr.rs:5:33:5:37 | NameRef | | ||
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | 0 | gen_offset_of_expr.rs:5:33:5:37 | field | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_path.rs:5:5:5:7 | Path | hasQualifier: | no | hasPart: | yes | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | | ||
| gen_path.rs:5:5:5:12 | Path | hasQualifier: | yes | hasPart: | yes | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | | ||
| gen_path.rs:5:5:5:7 | foo | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasQualifier: | no | hasPart: | yes | | ||
| gen_path.rs:5:5:5:12 | foo::bar | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasQualifier: | yes | hasPart: | yes | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/Path/Path_getPart.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_path.rs:5:5:5:7 | Path | gen_path.rs:5:5:5:7 | PathSegment | | ||
| gen_path.rs:5:5:5:12 | Path | gen_path.rs:5:10:5:12 | PathSegment | | ||
| gen_path.rs:5:5:5:7 | foo | gen_path.rs:5:5:5:7 | foo | | ||
| gen_path.rs:5:5:5:12 | foo::bar | gen_path.rs:5:10:5:12 | bar | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/Path/Path_getQualifier.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_path.rs:5:5:5:12 | Path | gen_path.rs:5:5:5:7 | Path | | ||
| gen_path.rs:5:5:5:12 | foo::bar | gen_path.rs:5:5:5:7 | foo | |
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/PathExpr/PathExpr_getPath.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_path_expr.rs:5:13:5:20 | PathExpr | gen_path_expr.rs:5:13:5:20 | Path | | ||
| gen_path_expr.rs:6:13:6:20 | PathExpr | gen_path_expr.rs:6:13:6:20 | Path | | ||
| gen_path_expr.rs:7:13:7:20 | PathExpr | gen_path_expr.rs:7:13:7:20 | Path | | ||
| gen_path_expr.rs:8:13:8:35 | PathExpr | gen_path_expr.rs:8:13:8:35 | Path | | ||
| gen_path_expr.rs:5:13:5:20 | PathExpr | gen_path_expr.rs:5:13:5:20 | variable | | ||
| gen_path_expr.rs:6:13:6:20 | PathExpr | gen_path_expr.rs:6:13:6:20 | foo::bar | | ||
| gen_path_expr.rs:7:13:7:20 | PathExpr | gen_path_expr.rs:7:13:7:20 | (no string representation) | | ||
| gen_path_expr.rs:8:13:8:35 | PathExpr | gen_path_expr.rs:8:13:8:35 | (no string representation) | |
2 changes: 1 addition & 1 deletion
2
rust/ql/test/extractor-tests/generated/PathPat/PathPat_getPath.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
| gen_path_pat.rs:6:9:6:16 | PathPat | gen_path_pat.rs:6:9:6:16 | Path | | ||
| gen_path_pat.rs:6:9:6:16 | PathPat | gen_path_pat.rs:6:9:6:16 | Foo::Bar | |
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/PathSegment/PathSegment.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_path_segment.rs:5:5:5:8 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | | ||
| gen_path_segment.rs:5:5:5:11 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | | ||
| gen_path_segment.rs:5:5:5:11 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | | ||
| gen_path_segment.rs:5:5:5:11 | PathSegment | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | | ||
| gen_path_segment.rs:5:5:5:8 | todo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | | ||
| gen_path_segment.rs:5:5:5:11 | $crate | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | | ||
| gen_path_segment.rs:5:5:5:11 | panic | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | | ||
| gen_path_segment.rs:5:5:5:11 | panicking | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no | |
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/PathSegment/PathSegment_getNameRef.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_path_segment.rs:5:5:5:8 | PathSegment | gen_path_segment.rs:5:5:5:8 | NameRef | | ||
| gen_path_segment.rs:5:5:5:11 | PathSegment | gen_path_segment.rs:5:5:5:11 | NameRef | | ||
| gen_path_segment.rs:5:5:5:11 | PathSegment | gen_path_segment.rs:5:5:5:11 | NameRef | | ||
| gen_path_segment.rs:5:5:5:11 | PathSegment | gen_path_segment.rs:5:5:5:11 | NameRef | | ||
| gen_path_segment.rs:5:5:5:8 | todo | gen_path_segment.rs:5:5:5:8 | todo | | ||
| gen_path_segment.rs:5:5:5:11 | $crate | gen_path_segment.rs:5:5:5:11 | $crate | | ||
| gen_path_segment.rs:5:5:5:11 | panic | gen_path_segment.rs:5:5:5:11 | panic | | ||
| gen_path_segment.rs:5:5:5:11 | panicking | gen_path_segment.rs:5:5:5:11 | panicking | |
8 changes: 4 additions & 4 deletions
8
rust/ql/test/extractor-tests/generated/RecordExpr/RecordExpr_getPath.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| gen_record_expr.rs:5:17:5:34 | RecordExpr | gen_record_expr.rs:5:17:5:19 | Path | | ||
| gen_record_expr.rs:6:18:6:38 | RecordExpr | gen_record_expr.rs:6:18:6:20 | Path | | ||
| gen_record_expr.rs:7:5:7:22 | RecordExpr | gen_record_expr.rs:7:5:7:7 | Path | | ||
| gen_record_expr.rs:8:5:8:14 | RecordExpr | gen_record_expr.rs:8:5:8:7 | Path | | ||
| gen_record_expr.rs:5:17:5:34 | RecordExpr | gen_record_expr.rs:5:17:5:19 | Foo | | ||
| gen_record_expr.rs:6:18:6:38 | RecordExpr | gen_record_expr.rs:6:18:6:20 | Foo | | ||
| gen_record_expr.rs:7:5:7:22 | RecordExpr | gen_record_expr.rs:7:5:7:7 | Foo | | ||
| gen_record_expr.rs:8:5:8:14 | RecordExpr | gen_record_expr.rs:8:5:8:7 | Foo | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/RecordExprField/RecordExprField_getNameRef.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_record_expr_field.rs:5:11:5:14 | RecordExprField | gen_record_expr_field.rs:5:11:5:11 | NameRef | | ||
| gen_record_expr_field.rs:5:17:5:20 | RecordExprField | gen_record_expr_field.rs:5:17:5:17 | NameRef | | ||
| gen_record_expr_field.rs:5:11:5:14 | RecordExprField | gen_record_expr_field.rs:5:11:5:11 | a | | ||
| gen_record_expr_field.rs:5:17:5:20 | RecordExprField | gen_record_expr_field.rs:5:17:5:17 | b | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/RecordPat/RecordPat_getPath.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_record_pat.rs:6:9:6:26 | RecordPat | gen_record_pat.rs:6:9:6:11 | Path | | ||
| gen_record_pat.rs:7:9:7:18 | RecordPat | gen_record_pat.rs:7:9:7:11 | Path | | ||
| gen_record_pat.rs:6:9:6:26 | RecordPat | gen_record_pat.rs:6:9:6:11 | Foo | | ||
| gen_record_pat.rs:7:9:7:18 | RecordPat | gen_record_pat.rs:7:9:7:11 | Foo | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/RecordPatField/RecordPatField_getNameRef.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_record_pat_field.rs:5:15:5:18 | RecordPatField | gen_record_pat_field.rs:5:15:5:15 | NameRef | | ||
| gen_record_pat_field.rs:5:21:5:24 | RecordPatField | gen_record_pat_field.rs:5:21:5:21 | NameRef | | ||
| gen_record_pat_field.rs:5:15:5:18 | RecordPatField | gen_record_pat_field.rs:5:15:5:15 | a | | ||
| gen_record_pat_field.rs:5:21:5:24 | RecordPatField | gen_record_pat_field.rs:5:21:5:21 | b | |
4 changes: 2 additions & 2 deletions
4
rust/ql/test/extractor-tests/generated/Trait/Trait_getName.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
| gen_trait.rs:3:1:8:1 | Trait | gen_trait.rs:4:7:4:18 | Name | | ||
| gen_trait.rs:10:1:10:57 | Trait | gen_trait.rs:10:11:10:13 | Name | | ||
| gen_trait.rs:3:1:8:1 | Trait | gen_trait.rs:4:7:4:18 | Frobinizable | | ||
| gen_trait.rs:10:1:10:57 | Trait | gen_trait.rs:10:11:10:13 | Foo | |
6 changes: 3 additions & 3 deletions
6
rust/ql/test/extractor-tests/generated/TupleStructPat/TupleStructPat_getPath.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
| gen_tuple_struct_pat.rs:6:9:6:27 | TupleStructPat | gen_tuple_struct_pat.rs:6:9:6:13 | Path | | ||
| gen_tuple_struct_pat.rs:7:9:7:20 | TupleStructPat | gen_tuple_struct_pat.rs:7:9:7:13 | Path | | ||
| gen_tuple_struct_pat.rs:8:9:8:17 | TupleStructPat | gen_tuple_struct_pat.rs:8:9:8:13 | Path | | ||
| gen_tuple_struct_pat.rs:6:9:6:27 | TupleStructPat | gen_tuple_struct_pat.rs:6:9:6:13 | Tuple | | ||
| gen_tuple_struct_pat.rs:7:9:7:20 | TupleStructPat | gen_tuple_struct_pat.rs:7:9:7:13 | Tuple | | ||
| gen_tuple_struct_pat.rs:8:9:8:17 | TupleStructPat | gen_tuple_struct_pat.rs:8:9:8:13 | Tuple | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
| lib.rs:1:1:1:21 | Module | | ||
| lib.rs:1:1:1:21 | SourceFile | | ||
| lib.rs:1:5:1:20 | Name | | ||
| lib.rs:1:5:1:20 | utf8_identifiers | | ||
| utf8_identifiers.rs:1:1:4:6 | foo | | ||
| utf8_identifiers.rs:1:1:12:2 | SourceFile | | ||
| utf8_identifiers.rs:1:4:1:6 | Name | | ||
| utf8_identifiers.rs:1:4:1:6 | foo | | ||
| utf8_identifiers.rs:1:7:4:1 | GenericParamList | | ||
| utf8_identifiers.rs:2:5:2:6 | Lifetime | | ||
| utf8_identifiers.rs:2:5:2:6 | LifetimeParam | | ||
| utf8_identifiers.rs:3:5:3:5 | Name | | ||
| utf8_identifiers.rs:3:5:3:5 | TypeParam | | ||
| utf8_identifiers.rs:3:5:3:5 | \u03b3 | | ||
| utf8_identifiers.rs:4:2:4:3 | ParamList | | ||
| utf8_identifiers.rs:4:5:4:6 | BlockExpr | | ||
| utf8_identifiers.rs:4:5:4:6 | StmtList | | ||
| utf8_identifiers.rs:6:1:8:1 | Struct | | ||
| utf8_identifiers.rs:6:8:6:8 | Name | | ||
| utf8_identifiers.rs:6:8:6:8 | X | | ||
| utf8_identifiers.rs:6:10:8:1 | RecordFieldList | | ||
| utf8_identifiers.rs:7:5:7:5 | Name | | ||
| utf8_identifiers.rs:7:5:7:5 | \u03b4 | | ||
| utf8_identifiers.rs:7:5:7:13 | RecordField | | ||
| utf8_identifiers.rs:7:9:7:13 | NameRef | | ||
| utf8_identifiers.rs:7:9:7:13 | Path | | ||
| utf8_identifiers.rs:7:9:7:13 | PathSegment | | ||
| utf8_identifiers.rs:7:9:7:13 | PathType | | ||
| utf8_identifiers.rs:7:9:7:13 | usize | | ||
| utf8_identifiers.rs:7:9:7:13 | usize | | ||
| utf8_identifiers.rs:7:9:7:13 | usize | | ||
| utf8_identifiers.rs:10:1:10:3 | Visibility | | ||
| utf8_identifiers.rs:10:1:12:1 | main | | ||
| utf8_identifiers.rs:10:8:10:11 | Name | | ||
| utf8_identifiers.rs:10:8:10:11 | main | | ||
| utf8_identifiers.rs:10:12:10:13 | ParamList | | ||
| utf8_identifiers.rs:10:15:12:1 | BlockExpr | | ||
| utf8_identifiers.rs:10:15:12:1 | StmtList | | ||
| utf8_identifiers.rs:11:5:11:24 | LetStmt | | ||
| utf8_identifiers.rs:11:9:11:9 | Name | | ||
| utf8_identifiers.rs:11:9:11:9 | \u03b1 | | ||
| utf8_identifiers.rs:11:9:11:9 | \u03b1 | | ||
| utf8_identifiers.rs:11:14:11:23 | 0.00001f64 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.