Skip to content

Commit 1d815b1

Browse files
committed
Rust: Update test expectations.
1 parent 5d060d6 commit 1d815b1

File tree

25 files changed

+0
-64
lines changed

25 files changed

+0
-64
lines changed

rust/ql/test/extractor-tests/generated/AsmExpr/AsmExpr.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_asm_expr.rs:6:9:7:59 | AsmExpr |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getAsmPiece
75
| gen_asm_expr.rs:6:9:7:59 | AsmExpr | 0 | gen_asm_expr.rs:7:39:7:47 | AsmOperandNamed |

rust/ql/test/extractor-tests/generated/Const/Const.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_const.rs:4:5:7:22 | Const | isConst: | yes | isDefault: | no | hasImplementation: | yes |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getAttr
75
getBody

rust/ql/test/extractor-tests/generated/Enum/Enum.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_enum.rs:4:5:7:34 | enum E |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getDeriveMacroExpansion
75
getAttr

rust/ql/test/extractor-tests/generated/ExternBlock/ExternBlock.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_extern_block.rs:7:5:9:5 | ExternBlock | isUnsafe: | no |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getAbi
75
| gen_extern_block.rs:7:5:9:5 | ExternBlock | gen_extern_block.rs:7:5:7:14 | Abi |

rust/ql/test/extractor-tests/generated/ExternCrate/ExternCrate.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_extern_crate.rs:4:5:7:23 | ExternCrate |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getAttr
75
getIdentifier

rust/ql/test/extractor-tests/generated/Function/Function.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
instances
22
| gen_function.rs:3:1:4:38 | fn foo | isAsync: | no | isConst: | no | isDefault: | no | isGen: | no | isUnsafe: | no | hasImplementation: | yes |
33
| gen_function.rs:7:5:7:13 | fn bar | isAsync: | no | isConst: | no | isDefault: | no | isGen: | no | isUnsafe: | no | hasImplementation: | no |
4-
getExtendedCanonicalPath
5-
| gen_function.rs:3:1:4:38 | fn foo | crate::gen_function::foo |
6-
| gen_function.rs:7:5:7:13 | fn bar | crate::gen_function::Trait::bar |
7-
getCrateOrigin
8-
| gen_function.rs:3:1:4:38 | fn foo | repo::test |
9-
| gen_function.rs:7:5:7:13 | fn bar | repo::test |
104
getAttributeMacroExpansion
115
getParamList
126
| gen_function.rs:3:1:4:38 | fn foo | gen_function.rs:4:7:4:14 | ParamList |

rust/ql/test/extractor-tests/generated/Impl/Impl.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_impl.rs:4:5:9:5 | impl MyTrait for MyType { ... } | isConst: | no | isDefault: | no | isUnsafe: | no |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getAssocItemList
75
| gen_impl.rs:4:5:9:5 | impl MyTrait for MyType { ... } | gen_impl.rs:7:29:9:5 | AssocItemList |

rust/ql/test/extractor-tests/generated/MacroCall/MacroCall.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
instances
22
| gen_macro_call.rs:7:5:7:29 | println!... |
33
| gen_macro_call.rs:7:14:7:28 | ...::format_args_nl!... |
4-
getExtendedCanonicalPath
5-
getCrateOrigin
64
getAttributeMacroExpansion
75
getAttr
86
getPath

rust/ql/test/extractor-tests/generated/MacroDef/MacroDef.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_macro_def.rs:4:5:9:5 | MacroDef |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getArgs
75
| gen_macro_def.rs:4:5:9:5 | MacroDef | gen_macro_def.rs:7:25:7:39 | TokenTree |

rust/ql/test/extractor-tests/generated/MacroRules/MacroRules.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
instances
22
| gen_macro_rules.rs:4:5:9:5 | MacroRules |
3-
getExtendedCanonicalPath
4-
getCrateOrigin
53
getAttributeMacroExpansion
64
getAttr
75
getName

0 commit comments

Comments
 (0)