mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Merge branch 'main' into redsun82/rust-less-canonical-paths
This commit is contained in:
@@ -2,7 +2,7 @@ Abi/gen_abi.rs 5d2f6eccb2bab86080188be9700ab64a34fa6e8e8e7b08f65a5c97d1de0a900c
|
||||
ArgList/gen_arg_list.rs 569d0b9b0479de5453ae0f89e4f90e32b02ee84dfb3d815821d722ece6f75b64 569d0b9b0479de5453ae0f89e4f90e32b02ee84dfb3d815821d722ece6f75b64
|
||||
ArrayListExpr/gen_array_list_expr.rs 99a1233b77a6b6eb0a538025688ca5a0824118a123bef0fe3f92a81834b17924 99a1233b77a6b6eb0a538025688ca5a0824118a123bef0fe3f92a81834b17924
|
||||
ArrayRepeatExpr/gen_array_repeat_expr.rs 8cc7c0a435a02864290db6a498a5fcf227d8ee7ed87ee1943ad4d326c8314a0e 8cc7c0a435a02864290db6a498a5fcf227d8ee7ed87ee1943ad4d326c8314a0e
|
||||
ArrayType/gen_array_type.rs 3cb5f35006648d676ead1088aa330cd34beaabaaad7b9aa952e6375bc1cec5cb 3cb5f35006648d676ead1088aa330cd34beaabaaad7b9aa952e6375bc1cec5cb
|
||||
ArrayTypeRepr/gen_array_type_repr.rs 9cf7a12a6f7da3342db4ab65dfb5deefb1ef57398e2236fbb49d3280dad944ae 9cf7a12a6f7da3342db4ab65dfb5deefb1ef57398e2236fbb49d3280dad944ae
|
||||
AsmExpr/gen_asm_expr.rs 00b21fd66fe12785174bd0160d0317a6c78ff05dbba73313eb07b56531cf3158 00b21fd66fe12785174bd0160d0317a6c78ff05dbba73313eb07b56531cf3158
|
||||
AssocTypeArg/gen_assoc_type_arg.rs 00ec0e22c4d73338de605dc3b1b1306bc83a95f87376ce976f08d2f9923cc2b4 00ec0e22c4d73338de605dc3b1b1306bc83a95f87376ce976f08d2f9923cc2b4
|
||||
Attr/gen_attr.rs cd6e50f5ebb17066209682b1a9f22ff116584ffef180d8ab51e2ba5cab6a91ec cd6e50f5ebb17066209682b1a9f22ff116584ffef180d8ab51e2ba5cab6a91ec
|
||||
@@ -22,16 +22,16 @@ ConstArg/gen_const_arg.rs feab3cdbbc469a287884ff7605e9a7541f904e9e5bd1f14a8e0f74
|
||||
ConstBlockPat/gen_const_block_pat.rs 7e3057cd24d22e752354369cf7e08e9536642812c0947b36aa5d8290a45476fd 7e3057cd24d22e752354369cf7e08e9536642812c0947b36aa5d8290a45476fd
|
||||
ConstParam/gen_const_param.rs f0a4176333b9519b4cc2533a083f68f6859b5b0855d1b0dbcef4d4e206721830 f0a4176333b9519b4cc2533a083f68f6859b5b0855d1b0dbcef4d4e206721830
|
||||
ContinueExpr/gen_continue_expr.rs 63840dcd8440aaf1b96b713b80eb2b56acb1639d3200b3c732b45291a071b5ff 63840dcd8440aaf1b96b713b80eb2b56acb1639d3200b3c732b45291a071b5ff
|
||||
DynTraitType/gen_dyn_trait_type.rs 65b8e54bdc4bdfff8b68480582acca642bf2d28e316c5251fb3b8371cd7328bd 65b8e54bdc4bdfff8b68480582acca642bf2d28e316c5251fb3b8371cd7328bd
|
||||
DynTraitTypeRepr/gen_dyn_trait_type_repr.rs ca6cb23c5996713121e3920652251c1c75136d31319558e366ef56941e9fe7de ca6cb23c5996713121e3920652251c1c75136d31319558e366ef56941e9fe7de
|
||||
Enum/gen_enum.rs efa816c579bfba60d1f32f818b022956d08d397af508c82b7331f14615f25be4 efa816c579bfba60d1f32f818b022956d08d397af508c82b7331f14615f25be4
|
||||
ExprStmt/gen_expr_stmt.rs 6ce47428a8d33b902c1f14b06cc375d08eff95251e4a81dac2fa51872b7649b1 6ce47428a8d33b902c1f14b06cc375d08eff95251e4a81dac2fa51872b7649b1
|
||||
ExternBlock/gen_extern_block.rs 5b5c4d7a2c4a91027df1578b74900ae1b971aede7720ab12de9bb918c42a583d 5b5c4d7a2c4a91027df1578b74900ae1b971aede7720ab12de9bb918c42a583d
|
||||
ExternCrate/gen_extern_crate.rs 9b3ab23a56b7778723ce436b25310547b2b0aeca3e5c6b7e61f273b5ce5573e3 9b3ab23a56b7778723ce436b25310547b2b0aeca3e5c6b7e61f273b5ce5573e3
|
||||
ExternItemList/gen_extern_item_list.rs ff2baaaa32099808b86fbf6f4853171146594d5db23c6ee447eb5cec10cee7cf ff2baaaa32099808b86fbf6f4853171146594d5db23c6ee447eb5cec10cee7cf
|
||||
FieldExpr/gen_field_expr.rs 9a70500d592e0a071b03d974a55558b3bc0df531ff11bce5898feb36e17ffd8b 9a70500d592e0a071b03d974a55558b3bc0df531ff11bce5898feb36e17ffd8b
|
||||
FnPtrType/gen_fn_ptr_type.rs a7842d8c21636739d1be959e5ce5e0b23482d5ef6eab5c45b009895da8175932 a7842d8c21636739d1be959e5ce5e0b23482d5ef6eab5c45b009895da8175932
|
||||
FnPtrTypeRepr/gen_fn_ptr_type_repr.rs 46af312570a9caec11e14ba05190e95e750c32565559f1622a132f7145320253 46af312570a9caec11e14ba05190e95e750c32565559f1622a132f7145320253
|
||||
ForExpr/gen_for_expr.rs 67decf3073e1a9363d9df05a5a64a6059349e50b81356f480f7aeb352189136d 67decf3073e1a9363d9df05a5a64a6059349e50b81356f480f7aeb352189136d
|
||||
ForType/gen_for_type.rs 6cb447df02c61b192e283e019576c28225added02d167030d64ebd0bebb1b158 6cb447df02c61b192e283e019576c28225added02d167030d64ebd0bebb1b158
|
||||
ForTypeRepr/gen_for_type_repr.rs 5108a5d63ce440305b92dd87387c22a0a57abfd19d88e03e1984e1537779f4a4 5108a5d63ce440305b92dd87387c22a0a57abfd19d88e03e1984e1537779f4a4
|
||||
FormatArgsExpr/gen_format.rs bd009cb152c35e2aacd147b5520a42be31e66e9a8715ec1d0fd57b8e97c743ed bd009cb152c35e2aacd147b5520a42be31e66e9a8715ec1d0fd57b8e97c743ed
|
||||
FormatArgsExpr/gen_format_args_arg.rs c466f2fc2c0f9592061a159a217a87551d67f1ccb0e4d8f7f56a463a2aa4a73a c466f2fc2c0f9592061a159a217a87551d67f1ccb0e4d8f7f56a463a2aa4a73a
|
||||
FormatArgsExpr/gen_format_args_expr.rs 72c806ed163e9dcce2d0c5c8664d409b2aa635c1022c91959f9e8ae084f05bf2 72c806ed163e9dcce2d0c5c8664d409b2aa635c1022c91959f9e8ae084f05bf2
|
||||
@@ -42,9 +42,9 @@ GenericParamList/gen_generic_param_list.rs 4cc9b628f53e1a6c5781ad195b8648fa6dee0
|
||||
IdentPat/gen_ident_pat.rs 87f9201ca47683ff6f12a0c844c062fdedb6d86546794522d358b117ba0fe477 87f9201ca47683ff6f12a0c844c062fdedb6d86546794522d358b117ba0fe477
|
||||
IfExpr/gen_if_expr.rs 2df66735394ebb20db29d3fbf2721ad4812afbe8d4614d03f26265c1f481f1e8 2df66735394ebb20db29d3fbf2721ad4812afbe8d4614d03f26265c1f481f1e8
|
||||
Impl/gen_impl.rs dd97fa44ec844b735b30e7dfd1b8ecd4449c7914af1ea427edcba848194a84ed dd97fa44ec844b735b30e7dfd1b8ecd4449c7914af1ea427edcba848194a84ed
|
||||
ImplTraitType/gen_impl_trait_type.rs feef13242cbee4e8c59a6db01778384d6d27d5b702431c2fd8dca0859f04a831 feef13242cbee4e8c59a6db01778384d6d27d5b702431c2fd8dca0859f04a831
|
||||
ImplTraitTypeRepr/gen_impl_trait_type_repr.rs 3d8bc5bb967bcb3ff38bf0487411e2945a57b36aad43dedcad17de9c6bf717d5 3d8bc5bb967bcb3ff38bf0487411e2945a57b36aad43dedcad17de9c6bf717d5
|
||||
IndexExpr/gen_index_expr.rs 22d7f81ba43dc63f1f49e21a2c25ce25a1b8f6e8e95e1a66f518f010a4d73c61 22d7f81ba43dc63f1f49e21a2c25ce25a1b8f6e8e95e1a66f518f010a4d73c61
|
||||
InferType/gen_infer_type.rs d1b7ee04417cfa8617bfd170920a48e8cfe97373b704153f5e2182ae29072ca3 d1b7ee04417cfa8617bfd170920a48e8cfe97373b704153f5e2182ae29072ca3
|
||||
InferTypeRepr/gen_infer_type_repr.rs 96f1b2d20319b031dde75b0bd612d4a4366315f2bc75590e5e422603f7a35541 96f1b2d20319b031dde75b0bd612d4a4366315f2bc75590e5e422603f7a35541
|
||||
ItemList/gen_item_list.rs 2ea6180e66de963627aabdaf64ce3c95c40cc7628d8734607ae2720bab857643 2ea6180e66de963627aabdaf64ce3c95c40cc7628d8734607ae2720bab857643
|
||||
Label/gen_label.rs 0584f519f210f621d7ebc0cb8c95ce05db0795d6109c0d16866f8f699a28213c 0584f519f210f621d7ebc0cb8c95ce05db0795d6109c0d16866f8f699a28213c
|
||||
LetElse/gen_let_else.rs 2cb09461b0ea48f666bd65a208663e64a874efadacb22764301871ea07956901 2cb09461b0ea48f666bd65a208663e64a874efadacb22764301871ea07956901
|
||||
@@ -63,7 +63,7 @@ MacroItems/gen_macro_items.rs 8ef3e16b73635dc97afa3ffa4db2bb21a8f1b435176861a594
|
||||
MacroPat/gen_macro_pat.rs b8041370598bd7fb26778d829a15c415c2078d69124f6af634ddeba13a114aa0 b8041370598bd7fb26778d829a15c415c2078d69124f6af634ddeba13a114aa0
|
||||
MacroRules/gen_macro_rules.rs 7e03b410f4669e422d3b4328f7aafdca2e286e5d951495dd69cee0d44cb793a9 7e03b410f4669e422d3b4328f7aafdca2e286e5d951495dd69cee0d44cb793a9
|
||||
MacroStmts/gen_macro_stmts.rs 2e45dcf44bf2e8404b49ce9abeee4931572693174b5d96f3fd81eb40ea8e7b4b 2e45dcf44bf2e8404b49ce9abeee4931572693174b5d96f3fd81eb40ea8e7b4b
|
||||
MacroType/gen_macro_type.rs 84db79c78860512b14f885391fcae999ca7282f2d8a9ab65d30cc413d5bbebd0 84db79c78860512b14f885391fcae999ca7282f2d8a9ab65d30cc413d5bbebd0
|
||||
MacroTypeRepr/gen_macro_type_repr.rs 03c15f1fd5af63821e49a125d236704c63889fe20a32f03f3ecf3e29b1cad9df 03c15f1fd5af63821e49a125d236704c63889fe20a32f03f3ecf3e29b1cad9df
|
||||
MatchArm/gen_match_arm.rs ac75b4836a103e2755bd47a1ee1b74af6eb8349adc4ebedaaa27b3ea3ae41aa5 ac75b4836a103e2755bd47a1ee1b74af6eb8349adc4ebedaaa27b3ea3ae41aa5
|
||||
MatchArmList/gen_match_arm_list.rs dbf36444d371421a2b8768a188660dd45ed3b823fb1c56b90c1ba77f177d23d6 dbf36444d371421a2b8768a188660dd45ed3b823fb1c56b90c1ba77f177d23d6
|
||||
MatchExpr/gen_match_expr.rs 081c5d4c78cb71ccd13fb37a93d7f525267c51b179f44b5a22ca3297897002a0 081c5d4c78cb71ccd13fb37a93d7f525267c51b179f44b5a22ca3297897002a0
|
||||
@@ -73,20 +73,20 @@ MethodCallExpr/gen_method_call_expr.rs f2b4679eb1ec095981fe6bd656b632c22bf6bd0da
|
||||
Module/gen_module.rs 815605a604fea1d9276684f8d6738a4e833eacad57ceeb27e2095fc450264fc1 815605a604fea1d9276684f8d6738a4e833eacad57ceeb27e2095fc450264fc1
|
||||
Name/gen_name.rs bbf5cff7da2400de554712ed66ff1e6370170ba988209b4e346bc053421df1ff bbf5cff7da2400de554712ed66ff1e6370170ba988209b4e346bc053421df1ff
|
||||
NameRef/gen_name_ref.rs 41307c2f7ca82d28217129639e556bd4c91221cf3a4170250b313fd53b9e3f82 41307c2f7ca82d28217129639e556bd4c91221cf3a4170250b313fd53b9e3f82
|
||||
NeverType/gen_never_type.rs a5413fab6a45dcfc2ff0ec5c8308b6c515963212ec4aa9edb9a96ec9a7e96830 a5413fab6a45dcfc2ff0ec5c8308b6c515963212ec4aa9edb9a96ec9a7e96830
|
||||
NeverTypeRepr/gen_never_type_repr.rs b9bf7cc4df2e5be4e85c0701b94ec189080db1dbc6e2c9ef0480c7f2f4b0fc17 b9bf7cc4df2e5be4e85c0701b94ec189080db1dbc6e2c9ef0480c7f2f4b0fc17
|
||||
OffsetOfExpr/gen_offset_of_expr.rs 8e2077b4d7b85c91c17c3630511bc4f929950e9007261cbf0471c4a064c4b934 8e2077b4d7b85c91c17c3630511bc4f929950e9007261cbf0471c4a064c4b934
|
||||
OrPat/gen_or_pat.rs 71feef6e056bfe4cc8c22c9eb54fa3fecef613606769061d0efd059adbbd6f56 71feef6e056bfe4cc8c22c9eb54fa3fecef613606769061d0efd059adbbd6f56
|
||||
Param/gen_param.rs 39f3979d6cb10e4c43e0b5601af2a92b7520a75a104211955bbbb5e6f13e9db9 39f3979d6cb10e4c43e0b5601af2a92b7520a75a104211955bbbb5e6f13e9db9
|
||||
ParamList/gen_param_list.rs ef2e83d0aed45b969fe78dd717e87ef3c1f848e6179cfb4dc3cb136f1836b998 ef2e83d0aed45b969fe78dd717e87ef3c1f848e6179cfb4dc3cb136f1836b998
|
||||
ParenExpr/gen_paren_expr.rs dd0c4a21a92e54e8a6151145e013cbec9c9e1cad093d572e293b4f51d6c44aea dd0c4a21a92e54e8a6151145e013cbec9c9e1cad093d572e293b4f51d6c44aea
|
||||
ParenPat/gen_paren_pat.rs c8d18521b9a0b7d39841eb72e3895914aa652b7235dea42ed12a4eb280e3bf0e c8d18521b9a0b7d39841eb72e3895914aa652b7235dea42ed12a4eb280e3bf0e
|
||||
ParenType/gen_paren_type.rs ae1a945b56020eab14bb0ef75ae9ccb735d8e45d1213adee210a90e6dba8430f ae1a945b56020eab14bb0ef75ae9ccb735d8e45d1213adee210a90e6dba8430f
|
||||
ParenTypeRepr/gen_paren_type_repr.rs 360a9415390ab572cb10015603537823cc0451bb94ef487d04bbfd7d523bee95 360a9415390ab572cb10015603537823cc0451bb94ef487d04bbfd7d523bee95
|
||||
Path/gen_path.rs 490268d6bfb1635883b8bdefc683d59c4dd0e9c7f86c2e55954661efb3ab0253 490268d6bfb1635883b8bdefc683d59c4dd0e9c7f86c2e55954661efb3ab0253
|
||||
Path/gen_path_expr.rs a1e0ececfe62a63a43583c9bd8064a80a90c042c55bac29d86776c0c6559f33a a1e0ececfe62a63a43583c9bd8064a80a90c042c55bac29d86776c0c6559f33a
|
||||
Path/gen_path_expr.rs dcc9cc16cafff0e2225c1853a91612d3f666016c53fcb4ab5716ed31a33a41cd dcc9cc16cafff0e2225c1853a91612d3f666016c53fcb4ab5716ed31a33a41cd
|
||||
Path/gen_path_pat.rs fd7f941f8b33f19d3693be1fdb595c2fb2e85e8296702b82bf12bcd44632f371 fd7f941f8b33f19d3693be1fdb595c2fb2e85e8296702b82bf12bcd44632f371
|
||||
Path/gen_path_type.rs 210f2ce4000b59d2f908801c22c5497a0f0c9a3b1a5130e7dad0931430f49eb9 210f2ce4000b59d2f908801c22c5497a0f0c9a3b1a5130e7dad0931430f49eb9
|
||||
Path/gen_path_type_repr.rs 0cff40a38cf0201b70230ac3f1863728c0fa5f7099651fc437ae02824d12655b 0cff40a38cf0201b70230ac3f1863728c0fa5f7099651fc437ae02824d12655b
|
||||
PrefixExpr/gen_prefix_expr.rs c4b53e87f370713b9a9e257be26d082b0761497bac19b1d7401a31b22b30d1ab c4b53e87f370713b9a9e257be26d082b0761497bac19b1d7401a31b22b30d1ab
|
||||
PtrType/gen_ptr_type.rs dd7faad19454b92d7942ef664df1a5f26c01863e408b87249aa4d5d4f68c78b3 dd7faad19454b92d7942ef664df1a5f26c01863e408b87249aa4d5d4f68c78b3
|
||||
PtrTypeRepr/gen_ptr_type_repr.rs 290d64a8ab4e8946b2e37496e7d2837529135e99b61cfb16a98c00f4d6ff8679 290d64a8ab4e8946b2e37496e7d2837529135e99b61cfb16a98c00f4d6ff8679
|
||||
RangeExpr/gen_range_expr.rs 3f27cff9cc76b2703beff622d1453b84121e1970a869e45f9428deac92c4ecb0 3f27cff9cc76b2703beff622d1453b84121e1970a869e45f9428deac92c4ecb0
|
||||
RangePat/gen_range_pat.rs 18b5169c3ab9230c95d86c4897f8343b2176d9602c9ea371c70c1eb0dbf89a28 18b5169c3ab9230c95d86c4897f8343b2176d9602c9ea371c70c1eb0dbf89a28
|
||||
RecordExpr/gen_record_expr.rs f8a7db88ae9e2a47588d26a76331cba64014dc6d5e065af28adcd718c8c52727 f8a7db88ae9e2a47588d26a76331cba64014dc6d5e065af28adcd718c8c52727
|
||||
@@ -99,15 +99,15 @@ RecordPatField/gen_record_pat_field.rs f6c31bd08e6021aa4da6e8238561a77208f0ef723
|
||||
RecordPatFieldList/gen_record_pat_field_list.rs 35aa6ce694da1c822a593a9b1251e2a2c61365489edf2c0e9710251d8d02fe3f 35aa6ce694da1c822a593a9b1251e2a2c61365489edf2c0e9710251d8d02fe3f
|
||||
RefExpr/gen_ref_expr.rs 82695467551def4a00c78aa1ea6a1460e9edbef7df2672f13daccb0ee5d6b4c6 82695467551def4a00c78aa1ea6a1460e9edbef7df2672f13daccb0ee5d6b4c6
|
||||
RefPat/gen_ref_pat.rs aba7518649d9a37928e59a40d42f76cc0f4735e8daf711a3def6d2f0520e1f54 aba7518649d9a37928e59a40d42f76cc0f4735e8daf711a3def6d2f0520e1f54
|
||||
RefType/gen_ref_type.rs 9d5c6d8257e580b550cbec5717e96b5cea6257c9e261e6f56db36c8570363b9d 9d5c6d8257e580b550cbec5717e96b5cea6257c9e261e6f56db36c8570363b9d
|
||||
RefTypeRepr/gen_ref_type_repr.rs 39a79cf148b7ee30e23a12c9349854dbe83aee1790153a388c43ff749907f8ea 39a79cf148b7ee30e23a12c9349854dbe83aee1790153a388c43ff749907f8ea
|
||||
Rename/gen_rename.rs 553c16f243d1ae3b6b28510d39436c83425944e5085171c18e0a2aa40deb74fc 553c16f243d1ae3b6b28510d39436c83425944e5085171c18e0a2aa40deb74fc
|
||||
RestPat/gen_rest_pat.rs e762bf7537225f97da751c5dca6a2cd3836ad7579b68c748b8c6cba65087acca e762bf7537225f97da751c5dca6a2cd3836ad7579b68c748b8c6cba65087acca
|
||||
RetType/gen_ret_type.rs 0947aed0974461b7a5b56bbc5fe36131663bde715c37302345d4eee23b71c825 0947aed0974461b7a5b56bbc5fe36131663bde715c37302345d4eee23b71c825
|
||||
RetTypeRepr/gen_ret_type_repr.rs 25edbd60ad63ab4266f6426ef50f1dd17e24132f5a24404d240a3f07daef6a31 25edbd60ad63ab4266f6426ef50f1dd17e24132f5a24404d240a3f07daef6a31
|
||||
ReturnExpr/gen_return_expr.rs 4f6ef29d7b3c60d6d71d1a6034a0721671f517428ba21897361a92b01009d38f 4f6ef29d7b3c60d6d71d1a6034a0721671f517428ba21897361a92b01009d38f
|
||||
ReturnTypeSyntax/gen_return_type_syntax.rs 0b11a4cc400f9a2001996f99d61391bdb636e8aea036f587cf18ad6a957fe496 0b11a4cc400f9a2001996f99d61391bdb636e8aea036f587cf18ad6a957fe496
|
||||
SelfParam/gen_self_param.rs 9be528c454e2734292d54550f8850ae8e48e1558da46dcf7f06fc7a7a8c3e569 9be528c454e2734292d54550f8850ae8e48e1558da46dcf7f06fc7a7a8c3e569
|
||||
SlicePat/gen_slice_pat.rs df4a6692f5100aa11dd777561400ce71e37b85f2363b0638c21975a1771b15d5 df4a6692f5100aa11dd777561400ce71e37b85f2363b0638c21975a1771b15d5
|
||||
SliceType/gen_slice_type.rs 073282f4755994473933db7e4f1e4d34a80363d7e331299ec4ac1a2d6a235b86 073282f4755994473933db7e4f1e4d34a80363d7e331299ec4ac1a2d6a235b86
|
||||
SliceTypeRepr/gen_slice_type_repr.rs e50c142b7cf7bc3040ad64f351488557323d0b2fd5d004b41ed0fa8e522b5648 e50c142b7cf7bc3040ad64f351488557323d0b2fd5d004b41ed0fa8e522b5648
|
||||
SourceFile/gen_source_file.rs a7a1d4fa77b53adb6fbc031bf7ab49cf7c8787728ba0a687c348b5eefbb5b9df a7a1d4fa77b53adb6fbc031bf7ab49cf7c8787728ba0a687c348b5eefbb5b9df
|
||||
Static/gen_static.rs ff01782c2f0f702373fc6df45ac9277fbdd8d4fad69dbe5f984a14790a46e7b9 ff01782c2f0f702373fc6df45ac9277fbdd8d4fad69dbe5f984a14790a46e7b9
|
||||
StmtList/gen_stmt_list.rs bb3791a613b91a2086c19cb0eddbf978bb37bbb2bd79d3e61b40be35c71daaad bb3791a613b91a2086c19cb0eddbf978bb37bbb2bd79d3e61b40be35c71daaad
|
||||
@@ -121,7 +121,7 @@ TupleField/gen_tuple_field.rs 8a77f7f1c2e4ac4374a147c27db7789e80496b5a405fd9cc33
|
||||
TupleFieldList/gen_tuple_field_list.rs d2a5151b413be3edbf093c4f47a8d57945e794d399378971940f6a5c65d4c223 d2a5151b413be3edbf093c4f47a8d57945e794d399378971940f6a5c65d4c223
|
||||
TuplePat/gen_tuple_pat.rs b1b0c9c5ff1b787f380644691c77807655a4f6441fc7431c90ecf78c54c26148 b1b0c9c5ff1b787f380644691c77807655a4f6441fc7431c90ecf78c54c26148
|
||||
TupleStructPat/gen_tuple_struct_pat.rs 601ca8813272d15b4c8fd7402d0d28a42a62be82865eb5e86b985ad31464ca98 601ca8813272d15b4c8fd7402d0d28a42a62be82865eb5e86b985ad31464ca98
|
||||
TupleType/gen_tuple_type.rs f4302ca264cb17e0c27015f657e678a13147f691c06323cba778836467815265 f4302ca264cb17e0c27015f657e678a13147f691c06323cba778836467815265
|
||||
TupleTypeRepr/gen_tuple_type_repr.rs 4ce074df3739c7614eae850d54d28f0ee4869d64ccc5736c5b73bed7800a0470 4ce074df3739c7614eae850d54d28f0ee4869d64ccc5736c5b73bed7800a0470
|
||||
TypeAlias/gen_type_alias.rs eee732f674d9f999fee1e1976c426ba07f23c63b58b3a53c2026a4b922c00c8f eee732f674d9f999fee1e1976c426ba07f23c63b58b3a53c2026a4b922c00c8f
|
||||
TypeArg/gen_type_arg.rs 11e024708429bb683adc848d0be168cd9d190793833880e6ec74139df296e818 11e024708429bb683adc848d0be168cd9d190793833880e6ec74139df296e818
|
||||
TypeBound/gen_type_bound.rs 4198346113b075812f79858ccbd467339d6b8039a449bd58c4710dd0aba1c9c1 4198346113b075812f79858ccbd467339d6b8039a449bd58c4710dd0aba1c9c1
|
||||
|
||||
30
rust/ql/test/extractor-tests/generated/.gitattributes
generated
vendored
30
rust/ql/test/extractor-tests/generated/.gitattributes
generated
vendored
@@ -4,7 +4,7 @@
|
||||
/ArgList/gen_arg_list.rs linguist-generated
|
||||
/ArrayListExpr/gen_array_list_expr.rs linguist-generated
|
||||
/ArrayRepeatExpr/gen_array_repeat_expr.rs linguist-generated
|
||||
/ArrayType/gen_array_type.rs linguist-generated
|
||||
/ArrayTypeRepr/gen_array_type_repr.rs linguist-generated
|
||||
/AsmExpr/gen_asm_expr.rs linguist-generated
|
||||
/AssocTypeArg/gen_assoc_type_arg.rs linguist-generated
|
||||
/Attr/gen_attr.rs linguist-generated
|
||||
@@ -24,16 +24,16 @@
|
||||
/ConstBlockPat/gen_const_block_pat.rs linguist-generated
|
||||
/ConstParam/gen_const_param.rs linguist-generated
|
||||
/ContinueExpr/gen_continue_expr.rs linguist-generated
|
||||
/DynTraitType/gen_dyn_trait_type.rs linguist-generated
|
||||
/DynTraitTypeRepr/gen_dyn_trait_type_repr.rs linguist-generated
|
||||
/Enum/gen_enum.rs linguist-generated
|
||||
/ExprStmt/gen_expr_stmt.rs linguist-generated
|
||||
/ExternBlock/gen_extern_block.rs linguist-generated
|
||||
/ExternCrate/gen_extern_crate.rs linguist-generated
|
||||
/ExternItemList/gen_extern_item_list.rs linguist-generated
|
||||
/FieldExpr/gen_field_expr.rs linguist-generated
|
||||
/FnPtrType/gen_fn_ptr_type.rs linguist-generated
|
||||
/FnPtrTypeRepr/gen_fn_ptr_type_repr.rs linguist-generated
|
||||
/ForExpr/gen_for_expr.rs linguist-generated
|
||||
/ForType/gen_for_type.rs linguist-generated
|
||||
/ForTypeRepr/gen_for_type_repr.rs linguist-generated
|
||||
/FormatArgsExpr/gen_format.rs linguist-generated
|
||||
/FormatArgsExpr/gen_format_args_arg.rs linguist-generated
|
||||
/FormatArgsExpr/gen_format_args_expr.rs linguist-generated
|
||||
@@ -44,9 +44,9 @@
|
||||
/IdentPat/gen_ident_pat.rs linguist-generated
|
||||
/IfExpr/gen_if_expr.rs linguist-generated
|
||||
/Impl/gen_impl.rs linguist-generated
|
||||
/ImplTraitType/gen_impl_trait_type.rs linguist-generated
|
||||
/ImplTraitTypeRepr/gen_impl_trait_type_repr.rs linguist-generated
|
||||
/IndexExpr/gen_index_expr.rs linguist-generated
|
||||
/InferType/gen_infer_type.rs linguist-generated
|
||||
/InferTypeRepr/gen_infer_type_repr.rs linguist-generated
|
||||
/ItemList/gen_item_list.rs linguist-generated
|
||||
/Label/gen_label.rs linguist-generated
|
||||
/LetElse/gen_let_else.rs linguist-generated
|
||||
@@ -65,7 +65,7 @@
|
||||
/MacroPat/gen_macro_pat.rs linguist-generated
|
||||
/MacroRules/gen_macro_rules.rs linguist-generated
|
||||
/MacroStmts/gen_macro_stmts.rs linguist-generated
|
||||
/MacroType/gen_macro_type.rs linguist-generated
|
||||
/MacroTypeRepr/gen_macro_type_repr.rs linguist-generated
|
||||
/MatchArm/gen_match_arm.rs linguist-generated
|
||||
/MatchArmList/gen_match_arm_list.rs linguist-generated
|
||||
/MatchExpr/gen_match_expr.rs linguist-generated
|
||||
@@ -75,20 +75,20 @@
|
||||
/Module/gen_module.rs linguist-generated
|
||||
/Name/gen_name.rs linguist-generated
|
||||
/NameRef/gen_name_ref.rs linguist-generated
|
||||
/NeverType/gen_never_type.rs linguist-generated
|
||||
/NeverTypeRepr/gen_never_type_repr.rs linguist-generated
|
||||
/OffsetOfExpr/gen_offset_of_expr.rs linguist-generated
|
||||
/OrPat/gen_or_pat.rs linguist-generated
|
||||
/Param/gen_param.rs linguist-generated
|
||||
/ParamList/gen_param_list.rs linguist-generated
|
||||
/ParenExpr/gen_paren_expr.rs linguist-generated
|
||||
/ParenPat/gen_paren_pat.rs linguist-generated
|
||||
/ParenType/gen_paren_type.rs linguist-generated
|
||||
/ParenTypeRepr/gen_paren_type_repr.rs linguist-generated
|
||||
/Path/gen_path.rs linguist-generated
|
||||
/Path/gen_path_expr.rs linguist-generated
|
||||
/Path/gen_path_pat.rs linguist-generated
|
||||
/Path/gen_path_type.rs linguist-generated
|
||||
/Path/gen_path_type_repr.rs linguist-generated
|
||||
/PrefixExpr/gen_prefix_expr.rs linguist-generated
|
||||
/PtrType/gen_ptr_type.rs linguist-generated
|
||||
/PtrTypeRepr/gen_ptr_type_repr.rs linguist-generated
|
||||
/RangeExpr/gen_range_expr.rs linguist-generated
|
||||
/RangePat/gen_range_pat.rs linguist-generated
|
||||
/RecordExpr/gen_record_expr.rs linguist-generated
|
||||
@@ -101,15 +101,15 @@
|
||||
/RecordPatFieldList/gen_record_pat_field_list.rs linguist-generated
|
||||
/RefExpr/gen_ref_expr.rs linguist-generated
|
||||
/RefPat/gen_ref_pat.rs linguist-generated
|
||||
/RefType/gen_ref_type.rs linguist-generated
|
||||
/RefTypeRepr/gen_ref_type_repr.rs linguist-generated
|
||||
/Rename/gen_rename.rs linguist-generated
|
||||
/RestPat/gen_rest_pat.rs linguist-generated
|
||||
/RetType/gen_ret_type.rs linguist-generated
|
||||
/RetTypeRepr/gen_ret_type_repr.rs linguist-generated
|
||||
/ReturnExpr/gen_return_expr.rs linguist-generated
|
||||
/ReturnTypeSyntax/gen_return_type_syntax.rs linguist-generated
|
||||
/SelfParam/gen_self_param.rs linguist-generated
|
||||
/SlicePat/gen_slice_pat.rs linguist-generated
|
||||
/SliceType/gen_slice_type.rs linguist-generated
|
||||
/SliceTypeRepr/gen_slice_type_repr.rs linguist-generated
|
||||
/SourceFile/gen_source_file.rs linguist-generated
|
||||
/Static/gen_static.rs linguist-generated
|
||||
/StmtList/gen_stmt_list.rs linguist-generated
|
||||
@@ -123,7 +123,7 @@
|
||||
/TupleFieldList/gen_tuple_field_list.rs linguist-generated
|
||||
/TuplePat/gen_tuple_pat.rs linguist-generated
|
||||
/TupleStructPat/gen_tuple_struct_pat.rs linguist-generated
|
||||
/TupleType/gen_tuple_type.rs linguist-generated
|
||||
/TupleTypeRepr/gen_tuple_type_repr.rs linguist-generated
|
||||
/TypeAlias/gen_type_alias.rs linguist-generated
|
||||
/TypeArg/gen_type_arg.rs linguist-generated
|
||||
/TypeBound/gen_type_bound.rs linguist-generated
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ArrayType x, string hasConstArg, string hasTy
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
(if x.hasConstArg() then hasConstArg = "yes" else hasConstArg = "no") and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
select x, "hasConstArg:", hasConstArg, "hasTy:", hasTy
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_array_type() -> () {
|
||||
// A ArrayType. For example:
|
||||
todo!()
|
||||
}
|
||||
11
rust/ql/test/extractor-tests/generated/ArrayTypeRepr/ArrayTypeRepr.ql
generated
Normal file
11
rust/ql/test/extractor-tests/generated/ArrayTypeRepr/ArrayTypeRepr.ql
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ArrayTypeRepr x, string hasConstArg, string hasElementTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
(if x.hasConstArg() then hasConstArg = "yes" else hasConstArg = "no") and
|
||||
if x.hasElementTypeRepr() then hasElementTypeRepr = "yes" else hasElementTypeRepr = "no"
|
||||
select x, "hasConstArg:", hasConstArg, "hasElementTypeRepr:", hasElementTypeRepr
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ArrayType x
|
||||
from ArrayTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getConstArg()
|
||||
7
rust/ql/test/extractor-tests/generated/ArrayTypeRepr/ArrayTypeRepr_getElementTypeRepr.ql
generated
Normal file
7
rust/ql/test/extractor-tests/generated/ArrayTypeRepr/ArrayTypeRepr_getElementTypeRepr.ql
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ArrayTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getElementTypeRepr()
|
||||
6
rust/ql/test/extractor-tests/generated/ArrayTypeRepr/gen_array_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/ArrayTypeRepr/gen_array_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_array_type_repr() -> () {
|
||||
// A ArrayTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -4,7 +4,7 @@ import TestUtils
|
||||
|
||||
from
|
||||
AssocTypeArg x, string hasConstArg, string hasGenericArgList, string hasNameRef,
|
||||
string hasParamList, string hasRetType, string hasReturnTypeSyntax, string hasTy,
|
||||
string hasParamList, string hasRetType, string hasReturnTypeSyntax, string hasTypeRepr,
|
||||
string hasTypeBoundList
|
||||
where
|
||||
toBeTested(x) and
|
||||
@@ -15,8 +15,8 @@ where
|
||||
(if x.hasParamList() then hasParamList = "yes" else hasParamList = "no") and
|
||||
(if x.hasRetType() then hasRetType = "yes" else hasRetType = "no") and
|
||||
(if x.hasReturnTypeSyntax() then hasReturnTypeSyntax = "yes" else hasReturnTypeSyntax = "no") and
|
||||
(if x.hasTy() then hasTy = "yes" else hasTy = "no") and
|
||||
(if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no") and
|
||||
if x.hasTypeBoundList() then hasTypeBoundList = "yes" else hasTypeBoundList = "no"
|
||||
select x, "hasConstArg:", hasConstArg, "hasGenericArgList:", hasGenericArgList, "hasNameRef:",
|
||||
hasNameRef, "hasParamList:", hasParamList, "hasRetType:", hasRetType, "hasReturnTypeSyntax:",
|
||||
hasReturnTypeSyntax, "hasTy:", hasTy, "hasTypeBoundList:", hasTypeBoundList
|
||||
hasReturnTypeSyntax, "hasTypeRepr:", hasTypeRepr, "hasTypeBoundList:", hasTypeBoundList
|
||||
|
||||
@@ -4,4 +4,4 @@ import TestUtils
|
||||
|
||||
from AssocTypeArg x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
@@ -1 +1 @@
|
||||
| gen_cast_expr.rs:5:5:5:16 | value as u64 | getNumberOfAttrs: | 0 | hasExpr: | yes | hasTy: | yes |
|
||||
| gen_cast_expr.rs:5:5:5:16 | value as u64 | getNumberOfAttrs: | 0 | hasExpr: | yes | hasTypeRepr: | yes |
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from CastExpr x, int getNumberOfAttrs, string hasExpr, string hasTy
|
||||
from CastExpr x, int getNumberOfAttrs, string hasExpr, string hasTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
getNumberOfAttrs = x.getNumberOfAttrs() and
|
||||
(if x.hasExpr() then hasExpr = "yes" else hasExpr = "no") and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasExpr:", hasExpr, "hasTy:", hasTy
|
||||
if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no"
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasExpr:", hasExpr, "hasTypeRepr:", hasTypeRepr
|
||||
|
||||
@@ -4,4 +4,4 @@ import TestUtils
|
||||
|
||||
from CastExpr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
@@ -1 +1 @@
|
||||
| gen_closure_expr.rs:6:5:6:34 | \|...\| ... | gen_closure_expr.rs:6:19:6:24 | RetType |
|
||||
| gen_closure_expr.rs:6:5:6:34 | \|...\| ... | gen_closure_expr.rs:6:19:6:24 | RetTypeRepr |
|
||||
|
||||
@@ -4,7 +4,7 @@ import TestUtils
|
||||
|
||||
from
|
||||
Const x, string hasExtendedCanonicalPath, string hasCrateOrigin, int getNumberOfAttrs,
|
||||
string hasBody, string isConst, string isDefault, string hasName, string hasTy,
|
||||
string hasBody, string isConst, string isDefault, string hasName, string hasTypeRepr,
|
||||
string hasVisibility
|
||||
where
|
||||
toBeTested(x) and
|
||||
@@ -20,8 +20,8 @@ where
|
||||
(if x.isConst() then isConst = "yes" else isConst = "no") and
|
||||
(if x.isDefault() then isDefault = "yes" else isDefault = "no") and
|
||||
(if x.hasName() then hasName = "yes" else hasName = "no") and
|
||||
(if x.hasTy() then hasTy = "yes" else hasTy = "no") and
|
||||
(if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no") and
|
||||
if x.hasVisibility() then hasVisibility = "yes" else hasVisibility = "no"
|
||||
select x, "hasExtendedCanonicalPath:", hasExtendedCanonicalPath, "hasCrateOrigin:", hasCrateOrigin,
|
||||
"getNumberOfAttrs:", getNumberOfAttrs, "hasBody:", hasBody, "isConst:", isConst, "isDefault:",
|
||||
isDefault, "hasName:", hasName, "hasTy:", hasTy, "hasVisibility:", hasVisibility
|
||||
isDefault, "hasName:", hasName, "hasTypeRepr:", hasTypeRepr, "hasVisibility:", hasVisibility
|
||||
|
||||
@@ -4,4 +4,4 @@ import TestUtils
|
||||
|
||||
from Const x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
@@ -4,7 +4,7 @@ import TestUtils
|
||||
|
||||
from
|
||||
ConstParam x, int getNumberOfAttrs, string hasDefaultVal, string isConst, string hasName,
|
||||
string hasTy
|
||||
string hasTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
@@ -12,6 +12,6 @@ where
|
||||
(if x.hasDefaultVal() then hasDefaultVal = "yes" else hasDefaultVal = "no") and
|
||||
(if x.isConst() then isConst = "yes" else isConst = "no") and
|
||||
(if x.hasName() then hasName = "yes" else hasName = "no") and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no"
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasDefaultVal:", hasDefaultVal, "isConst:",
|
||||
isConst, "hasName:", hasName, "hasTy:", hasTy
|
||||
isConst, "hasName:", hasName, "hasTypeRepr:", hasTypeRepr
|
||||
|
||||
@@ -4,4 +4,4 @@ import TestUtils
|
||||
|
||||
from ConstParam x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_dyn_trait_type() -> () {
|
||||
// A DynTraitType. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from DynTraitType x, string hasTypeBoundList
|
||||
from DynTraitTypeRepr x, string hasTypeBoundList
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from DynTraitType x
|
||||
from DynTraitTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTypeBoundList()
|
||||
6
rust/ql/test/extractor-tests/generated/DynTraitTypeRepr/gen_dyn_trait_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/DynTraitTypeRepr/gen_dyn_trait_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_dyn_trait_type_repr() -> () {
|
||||
// A DynTraitTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_fn_ptr_type() -> () {
|
||||
// A FnPtrType. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -3,8 +3,8 @@ import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from
|
||||
FnPtrType x, string hasAbi, string isAsync, string isConst, string isUnsafe, string hasParamList,
|
||||
string hasRetType
|
||||
FnPtrTypeRepr x, string hasAbi, string isAsync, string isConst, string isUnsafe,
|
||||
string hasParamList, string hasRetType
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from FnPtrType x
|
||||
from FnPtrTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getAbi()
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from FnPtrType x
|
||||
from FnPtrTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getParamList()
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from FnPtrType x
|
||||
from FnPtrTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getRetType()
|
||||
6
rust/ql/test/extractor-tests/generated/FnPtrTypeRepr/gen_fn_ptr_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/FnPtrTypeRepr/gen_fn_ptr_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_fn_ptr_type_repr() -> () {
|
||||
// A FnPtrTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ForType x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_for_type() -> () {
|
||||
// A ForType. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -2,10 +2,10 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ForType x, string hasGenericParamList, string hasTy
|
||||
from ForTypeRepr x, string hasGenericParamList, string hasTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
(if x.hasGenericParamList() then hasGenericParamList = "yes" else hasGenericParamList = "no") and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
select x, "hasGenericParamList:", hasGenericParamList, "hasTy:", hasTy
|
||||
if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no"
|
||||
select x, "hasGenericParamList:", hasGenericParamList, "hasTypeRepr:", hasTypeRepr
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ForType x
|
||||
from ForTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getGenericParamList()
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ArrayType x
|
||||
from ForTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
6
rust/ql/test/extractor-tests/generated/ForTypeRepr/gen_for_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/ForTypeRepr/gen_for_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_for_type_repr() -> () {
|
||||
// A ForTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
| gen_function.rs:3:1:4:38 | fn foo | gen_function.rs:4:16:4:21 | RetType |
|
||||
| gen_function.rs:3:1:4:38 | fn foo | gen_function.rs:4:16:4:21 | RetTypeRepr |
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_impl_trait_type() -> () {
|
||||
// A ImplTraitType. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ImplTraitType x, string hasTypeBoundList
|
||||
from ImplTraitTypeRepr x, string hasTypeBoundList
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ImplTraitType x
|
||||
from ImplTraitTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTypeBoundList()
|
||||
6
rust/ql/test/extractor-tests/generated/ImplTraitTypeRepr/gen_impl_trait_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/ImplTraitTypeRepr/gen_impl_trait_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_impl_trait_type_repr() -> () {
|
||||
// A ImplTraitTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_infer_type() -> () {
|
||||
// A InferType. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from NeverType x
|
||||
from InferTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x
|
||||
6
rust/ql/test/extractor-tests/generated/InferTypeRepr/gen_infer_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/InferTypeRepr/gen_infer_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_infer_type_repr() -> () {
|
||||
// A InferTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
| gen_let_stmt.rs:5:5:5:15 | let ... = 42 | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | no | hasPat: | yes | hasTy: | no |
|
||||
| gen_let_stmt.rs:6:5:6:20 | let ... = 42 | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | no | hasPat: | yes | hasTy: | yes |
|
||||
| gen_let_stmt.rs:7:5:7:15 | let ... | getNumberOfAttrs: | 0 | hasInitializer: | no | hasLetElse: | no | hasPat: | yes | hasTy: | yes |
|
||||
| gen_let_stmt.rs:8:5:8:10 | let ... | getNumberOfAttrs: | 0 | hasInitializer: | no | hasLetElse: | no | hasPat: | yes | hasTy: | no |
|
||||
| gen_let_stmt.rs:9:5:9:24 | let ... = ... | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | no | hasPat: | yes | hasTy: | no |
|
||||
| gen_let_stmt.rs:10:5:12:6 | let ... = ... else {...} | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | yes | hasPat: | yes | hasTy: | no |
|
||||
| gen_let_stmt.rs:5:5:5:15 | let ... = 42 | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | no | hasPat: | yes | hasTypeRepr: | no |
|
||||
| gen_let_stmt.rs:6:5:6:20 | let ... = 42 | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | no | hasPat: | yes | hasTypeRepr: | yes |
|
||||
| gen_let_stmt.rs:7:5:7:15 | let ... | getNumberOfAttrs: | 0 | hasInitializer: | no | hasLetElse: | no | hasPat: | yes | hasTypeRepr: | yes |
|
||||
| gen_let_stmt.rs:8:5:8:10 | let ... | getNumberOfAttrs: | 0 | hasInitializer: | no | hasLetElse: | no | hasPat: | yes | hasTypeRepr: | no |
|
||||
| gen_let_stmt.rs:9:5:9:24 | let ... = ... | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | no | hasPat: | yes | hasTypeRepr: | no |
|
||||
| gen_let_stmt.rs:10:5:12:6 | let ... = ... else {...} | getNumberOfAttrs: | 0 | hasInitializer: | yes | hasLetElse: | yes | hasPat: | yes | hasTypeRepr: | no |
|
||||
|
||||
@@ -4,7 +4,7 @@ import TestUtils
|
||||
|
||||
from
|
||||
LetStmt x, int getNumberOfAttrs, string hasInitializer, string hasLetElse, string hasPat,
|
||||
string hasTy
|
||||
string hasTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
@@ -12,6 +12,6 @@ where
|
||||
(if x.hasInitializer() then hasInitializer = "yes" else hasInitializer = "no") and
|
||||
(if x.hasLetElse() then hasLetElse = "yes" else hasLetElse = "no") and
|
||||
(if x.hasPat() then hasPat = "yes" else hasPat = "no") and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no"
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasInitializer:", hasInitializer, "hasLetElse:",
|
||||
hasLetElse, "hasPat:", hasPat, "hasTy:", hasTy
|
||||
hasLetElse, "hasPat:", hasPat, "hasTypeRepr:", hasTypeRepr
|
||||
|
||||
@@ -4,4 +4,4 @@ import TestUtils
|
||||
|
||||
from LetStmt x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
@@ -18,9 +18,9 @@ noLocation
|
||||
| file://:0:0:0:0 | Path |
|
||||
| file://:0:0:0:0 | Path |
|
||||
| file://:0:0:0:0 | Path |
|
||||
| file://:0:0:0:0 | RefType |
|
||||
| file://:0:0:0:0 | RefType |
|
||||
| file://:0:0:0:0 | RetType |
|
||||
| file://:0:0:0:0 | RefTypeRepr |
|
||||
| file://:0:0:0:0 | RefTypeRepr |
|
||||
| file://:0:0:0:0 | RetTypeRepr |
|
||||
| file://:0:0:0:0 | StmtList |
|
||||
| file://:0:0:0:0 | Use |
|
||||
| file://:0:0:0:0 | UseTree |
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_macro_type() -> () {
|
||||
// A MacroType. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from MacroType x, string hasMacroCall
|
||||
from MacroTypeRepr x, string hasMacroCall
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from MacroType x
|
||||
from MacroTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getMacroCall()
|
||||
6
rust/ql/test/extractor-tests/generated/MacroTypeRepr/gen_macro_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/MacroTypeRepr/gen_macro_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_macro_type_repr() -> () {
|
||||
// A MacroTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_never_type() -> () {
|
||||
// A NeverType. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -2,6 +2,6 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from InferType x
|
||||
from NeverTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x
|
||||
6
rust/ql/test/extractor-tests/generated/NeverTypeRepr/gen_never_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/NeverTypeRepr/gen_never_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_never_type_repr() -> () {
|
||||
// A NeverTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | getNumberOfAttrs: | 0 | getNumberOfFields: | 1 | hasTy: | yes |
|
||||
| gen_offset_of_expr.rs:5:5:5:38 | OffsetOfExpr | getNumberOfAttrs: | 0 | getNumberOfFields: | 1 | hasTypeRepr: | yes |
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from OffsetOfExpr x, int getNumberOfAttrs, int getNumberOfFields, string hasTy
|
||||
from OffsetOfExpr x, int getNumberOfAttrs, int getNumberOfFields, string hasTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
getNumberOfAttrs = x.getNumberOfAttrs() and
|
||||
getNumberOfFields = x.getNumberOfFields() and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "getNumberOfFields:", getNumberOfFields, "hasTy:",
|
||||
hasTy
|
||||
if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no"
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "getNumberOfFields:", getNumberOfFields,
|
||||
"hasTypeRepr:", hasTypeRepr
|
||||
|
||||
@@ -4,4 +4,4 @@ import TestUtils
|
||||
|
||||
from OffsetOfExpr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
@@ -1 +1 @@
|
||||
| gen_param.rs:5:12:5:15 | ...: T | getNumberOfAttrs: | 0 | hasTy: | yes | hasPat: | yes |
|
||||
| gen_param.rs:5:12:5:15 | ...: T | getNumberOfAttrs: | 0 | hasTypeRepr: | yes | hasPat: | yes |
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from Param x, int getNumberOfAttrs, string hasTy, string hasPat
|
||||
from Param x, int getNumberOfAttrs, string hasTypeRepr, string hasPat
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
getNumberOfAttrs = x.getNumberOfAttrs() and
|
||||
(if x.hasTy() then hasTy = "yes" else hasTy = "no") and
|
||||
(if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no") and
|
||||
if x.hasPat() then hasPat = "yes" else hasPat = "no"
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasTy:", hasTy, "hasPat:", hasPat
|
||||
select x, "getNumberOfAttrs:", getNumberOfAttrs, "hasTypeRepr:", hasTypeRepr, "hasPat:", hasPat
|
||||
|
||||
@@ -4,4 +4,4 @@ import TestUtils
|
||||
|
||||
from Param x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
select x, x.getTypeRepr()
|
||||
@@ -1,10 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ParenType x, string hasTy
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
select x, "hasTy:", hasTy
|
||||
@@ -1,7 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ParenType x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTy()
|
||||
@@ -1,6 +0,0 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_paren_type() -> () {
|
||||
// A ParenType. For example:
|
||||
todo!()
|
||||
}
|
||||
10
rust/ql/test/extractor-tests/generated/ParenTypeRepr/ParenTypeRepr.ql
generated
Normal file
10
rust/ql/test/extractor-tests/generated/ParenTypeRepr/ParenTypeRepr.ql
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ParenTypeRepr x, string hasTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no"
|
||||
select x, "hasTypeRepr:", hasTypeRepr
|
||||
7
rust/ql/test/extractor-tests/generated/ParenTypeRepr/ParenTypeRepr_getTypeRepr.ql
generated
Normal file
7
rust/ql/test/extractor-tests/generated/ParenTypeRepr/ParenTypeRepr_getTypeRepr.ql
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
// generated by codegen, do not edit
|
||||
import codeql.rust.elements
|
||||
import TestUtils
|
||||
|
||||
from ParenTypeRepr x
|
||||
where toBeTested(x) and not x.isUnknown()
|
||||
select x, x.getTypeRepr()
|
||||
6
rust/ql/test/extractor-tests/generated/ParenTypeRepr/gen_paren_type_repr.rs
generated
Normal file
6
rust/ql/test/extractor-tests/generated/ParenTypeRepr/gen_paren_type_repr.rs
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
// generated by codegen, do not edit
|
||||
|
||||
fn test_paren_type_repr() -> () {
|
||||
// A ParenTypeRepr. For example:
|
||||
todo!()
|
||||
}
|
||||
@@ -10,17 +10,17 @@
|
||||
| gen_path_expr.rs:7:13:7:20 | ...::foo | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_expr.rs:7:14:7:14 | T | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_expr.rs:7:14:7:14 | T | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:13:8:30 | <...> | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:13:8:35 | ...::foo | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:14:8:20 | TypeRef | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:14:8:20 | TypeRef | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:13:8:31 | <...> | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:13:8:36 | ...::foo | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:14:8:21 | TypeRepr | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_expr.rs:8:14:8:21 | TypeRepr | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_pat.rs:5:11:5:11 | x | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_pat.rs:6:9:6:11 | Foo | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_pat.rs:6:9:6:16 | ...::Bar | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_type.rs:5:14:5:16 | std | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type.rs:5:14:5:29 | ...::collections | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_type.rs:5:14:5:48 | ...::HashMap::<...> | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_type.rs:5:40:5:42 | i32 | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type.rs:5:45:5:47 | i32 | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type.rs:6:14:6:14 | X | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type.rs:6:14:6:20 | ...::Item | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_type_repr.rs:5:14:5:16 | std | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type_repr.rs:5:14:5:29 | ...::collections | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_type_repr.rs:5:14:5:48 | ...::HashMap::<...> | hasQualifier: | yes | hasPart: | yes |
|
||||
| gen_path_type_repr.rs:5:40:5:42 | i32 | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type_repr.rs:5:45:5:47 | i32 | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type_repr.rs:6:14:6:14 | X | hasQualifier: | no | hasPart: | yes |
|
||||
| gen_path_type_repr.rs:6:14:6:20 | ...::Item | hasQualifier: | yes | hasPart: | yes |
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
| gen_path_expr.rs:5:13:5:20 | variable | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasPath: | yes | getNumberOfAttrs: | 0 |
|
||||
| gen_path_expr.rs:6:13:6:20 | ...::bar | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasPath: | yes | getNumberOfAttrs: | 0 |
|
||||
| gen_path_expr.rs:7:13:7:20 | ...::foo | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasPath: | yes | getNumberOfAttrs: | 0 |
|
||||
| gen_path_expr.rs:8:13:8:35 | ...::foo | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasPath: | yes | getNumberOfAttrs: | 0 |
|
||||
| gen_path_expr.rs:8:13:8:36 | ...::foo | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasPath: | yes | getNumberOfAttrs: | 0 |
|
||||
| gen_path_pat.rs:5:11:5:11 | x | hasResolvedPath: | no | hasResolvedCrateOrigin: | no | hasPath: | yes | getNumberOfAttrs: | 0 |
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
| gen_path_expr.rs:5:13:5:20 | variable | gen_path_expr.rs:5:13:5:20 | variable |
|
||||
| gen_path_expr.rs:6:13:6:20 | ...::bar | gen_path_expr.rs:6:13:6:20 | ...::bar |
|
||||
| gen_path_expr.rs:7:13:7:20 | ...::foo | gen_path_expr.rs:7:13:7:20 | ...::foo |
|
||||
| gen_path_expr.rs:8:13:8:35 | ...::foo | gen_path_expr.rs:8:13:8:35 | ...::foo |
|
||||
| gen_path_expr.rs:8:13:8:36 | ...::foo | gen_path_expr.rs:8:13:8:36 | ...::foo |
|
||||
| gen_path_pat.rs:5:11:5:11 | x | gen_path_pat.rs:5:11:5:11 | x |
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
| gen_path.rs:5:9:5:18 | some_crate | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path.rs:5:21:5:31 | some_module | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path.rs:5:34:5:42 | some_item | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path.rs:6:5:6:7 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path.rs:6:10:6:12 | bar | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:5:13:5:20 | variable | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:6:13:6:15 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:6:18:6:20 | bar | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:7:13:7:15 | <...> | hasGenericArgList: | no | hasNameRef: | no | hasParamList: | no | hasPathType: | yes | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | yes |
|
||||
| gen_path_expr.rs:7:14:7:14 | T | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:7:14:7:14 | T | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:7:18:7:20 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:8:13:8:30 | <...> | hasGenericArgList: | no | hasNameRef: | no | hasParamList: | no | hasPathType: | yes | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | yes |
|
||||
| gen_path_expr.rs:8:14:8:20 | TypeRef | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:8:14:8:20 | TypeRef | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_expr.rs:8:33:8:35 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_pat.rs:5:11:5:11 | x | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_pat.rs:6:9:6:11 | Foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_pat.rs:6:14:6:16 | Bar | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_type.rs:5:14:5:16 | std | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_type.rs:5:19:5:29 | collections | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_type.rs:5:32:5:48 | HashMap::<...> | hasGenericArgList: | yes | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_type.rs:5:40:5:42 | i32 | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_type.rs:5:45:5:47 | i32 | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_type.rs:6:14:6:14 | X | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path_type.rs:6:17:6:20 | Item | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTy: | no |
|
||||
| gen_path.rs:5:9:5:18 | some_crate | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path.rs:5:21:5:31 | some_module | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path.rs:5:34:5:42 | some_item | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path.rs:6:5:6:7 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path.rs:6:10:6:12 | bar | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:5:13:5:20 | variable | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:6:13:6:15 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:6:18:6:20 | bar | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:7:13:7:15 | <...> | hasGenericArgList: | no | hasNameRef: | no | hasParamList: | no | hasPathType: | yes | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | yes |
|
||||
| gen_path_expr.rs:7:14:7:14 | T | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:7:14:7:14 | T | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:7:18:7:20 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:8:13:8:31 | <...> | hasGenericArgList: | no | hasNameRef: | no | hasParamList: | no | hasPathType: | yes | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | yes |
|
||||
| gen_path_expr.rs:8:14:8:21 | TypeRepr | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:8:14:8:21 | TypeRepr | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_expr.rs:8:34:8:36 | foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_pat.rs:5:11:5:11 | x | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_pat.rs:6:9:6:11 | Foo | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_pat.rs:6:14:6:16 | Bar | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_type_repr.rs:5:14:5:16 | std | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_type_repr.rs:5:19:5:29 | collections | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_type_repr.rs:5:32:5:48 | HashMap::<...> | hasGenericArgList: | yes | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_type_repr.rs:5:40:5:42 | i32 | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_type_repr.rs:5:45:5:47 | i32 | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_type_repr.rs:6:14:6:14 | X | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
| gen_path_type_repr.rs:6:17:6:20 | Item | hasGenericArgList: | no | hasNameRef: | yes | hasParamList: | no | hasPathType: | no | hasRetType: | no | hasReturnTypeSyntax: | no | hasTypeRepr: | no |
|
||||
|
||||
@@ -4,7 +4,7 @@ import TestUtils
|
||||
|
||||
from
|
||||
PathSegment x, string hasGenericArgList, string hasNameRef, string hasParamList,
|
||||
string hasPathType, string hasRetType, string hasReturnTypeSyntax, string hasTy
|
||||
string hasPathType, string hasRetType, string hasReturnTypeSyntax, string hasTypeRepr
|
||||
where
|
||||
toBeTested(x) and
|
||||
not x.isUnknown() and
|
||||
@@ -14,7 +14,7 @@ where
|
||||
(if x.hasPathType() then hasPathType = "yes" else hasPathType = "no") and
|
||||
(if x.hasRetType() then hasRetType = "yes" else hasRetType = "no") and
|
||||
(if x.hasReturnTypeSyntax() then hasReturnTypeSyntax = "yes" else hasReturnTypeSyntax = "no") and
|
||||
if x.hasTy() then hasTy = "yes" else hasTy = "no"
|
||||
if x.hasTypeRepr() then hasTypeRepr = "yes" else hasTypeRepr = "no"
|
||||
select x, "hasGenericArgList:", hasGenericArgList, "hasNameRef:", hasNameRef, "hasParamList:",
|
||||
hasParamList, "hasPathType:", hasPathType, "hasRetType:", hasRetType, "hasReturnTypeSyntax:",
|
||||
hasReturnTypeSyntax, "hasTy:", hasTy
|
||||
hasReturnTypeSyntax, "hasTypeRepr:", hasTypeRepr
|
||||
|
||||
@@ -1 +1 @@
|
||||
| gen_path_type.rs:5:32:5:48 | HashMap::<...> | gen_path_type.rs:5:39:5:48 | <...> |
|
||||
| gen_path_type_repr.rs:5:32:5:48 | HashMap::<...> | gen_path_type_repr.rs:5:39:5:48 | <...> |
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
| gen_path_expr.rs:7:14:7:14 | T | gen_path_expr.rs:7:14:7:14 | T |
|
||||
| gen_path_expr.rs:7:14:7:14 | T | gen_path_expr.rs:7:14:7:14 | T |
|
||||
| gen_path_expr.rs:7:18:7:20 | foo | gen_path_expr.rs:7:18:7:20 | foo |
|
||||
| gen_path_expr.rs:8:14:8:20 | TypeRef | gen_path_expr.rs:8:14:8:20 | TypeRef |
|
||||
| gen_path_expr.rs:8:14:8:20 | TypeRef | gen_path_expr.rs:8:14:8:20 | TypeRef |
|
||||
| gen_path_expr.rs:8:33:8:35 | foo | gen_path_expr.rs:8:33:8:35 | foo |
|
||||
| gen_path_expr.rs:8:14:8:21 | TypeRepr | gen_path_expr.rs:8:14:8:21 | TypeRepr |
|
||||
| gen_path_expr.rs:8:14:8:21 | TypeRepr | gen_path_expr.rs:8:14:8:21 | TypeRepr |
|
||||
| gen_path_expr.rs:8:34:8:36 | foo | gen_path_expr.rs:8:34:8:36 | foo |
|
||||
| gen_path_pat.rs:5:11:5:11 | x | gen_path_pat.rs:5:11:5:11 | x |
|
||||
| gen_path_pat.rs:6:9:6:11 | Foo | gen_path_pat.rs:6:9:6:11 | Foo |
|
||||
| gen_path_pat.rs:6:14:6:16 | Bar | gen_path_pat.rs:6:14:6:16 | Bar |
|
||||
| gen_path_type.rs:5:14:5:16 | std | gen_path_type.rs:5:14:5:16 | std |
|
||||
| gen_path_type.rs:5:19:5:29 | collections | gen_path_type.rs:5:19:5:29 | collections |
|
||||
| gen_path_type.rs:5:32:5:48 | HashMap::<...> | gen_path_type.rs:5:32:5:38 | HashMap |
|
||||
| gen_path_type.rs:5:40:5:42 | i32 | gen_path_type.rs:5:40:5:42 | i32 |
|
||||
| gen_path_type.rs:5:45:5:47 | i32 | gen_path_type.rs:5:45:5:47 | i32 |
|
||||
| gen_path_type.rs:6:14:6:14 | X | gen_path_type.rs:6:14:6:14 | X |
|
||||
| gen_path_type.rs:6:17:6:20 | Item | gen_path_type.rs:6:17:6:20 | Item |
|
||||
| gen_path_type_repr.rs:5:14:5:16 | std | gen_path_type_repr.rs:5:14:5:16 | std |
|
||||
| gen_path_type_repr.rs:5:19:5:29 | collections | gen_path_type_repr.rs:5:19:5:29 | collections |
|
||||
| gen_path_type_repr.rs:5:32:5:48 | HashMap::<...> | gen_path_type_repr.rs:5:32:5:38 | HashMap |
|
||||
| gen_path_type_repr.rs:5:40:5:42 | i32 | gen_path_type_repr.rs:5:40:5:42 | i32 |
|
||||
| gen_path_type_repr.rs:5:45:5:47 | i32 | gen_path_type_repr.rs:5:45:5:47 | i32 |
|
||||
| gen_path_type_repr.rs:6:14:6:14 | X | gen_path_type_repr.rs:6:14:6:14 | X |
|
||||
| gen_path_type_repr.rs:6:17:6:20 | Item | gen_path_type_repr.rs:6:17:6:20 | Item |
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| gen_path_expr.rs:7:13:7:15 | <...> | gen_path_expr.rs:7:14:7:14 | T |
|
||||
| gen_path_expr.rs:8:13:8:30 | <...> | gen_path_expr.rs:8:14:8:20 | TypeRef |
|
||||
| gen_path_expr.rs:8:13:8:31 | <...> | gen_path_expr.rs:8:14:8:21 | TypeRepr |
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user