Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_db/src/test_data/test_symbol_index_collection.txt')
| -rw-r--r-- | crates/ide_db/src/test_data/test_symbol_index_collection.txt | 72 |
1 files changed, 70 insertions, 2 deletions
diff --git a/crates/ide_db/src/test_data/test_symbol_index_collection.txt b/crates/ide_db/src/test_data/test_symbol_index_collection.txt index 4ec4f142da..fe6eebc4f0 100644 --- a/crates/ide_db/src/test_data/test_symbol_index_collection.txt +++ b/crates/ide_db/src/test_data/test_symbol_index_collection.txt @@ -255,6 +255,28 @@ container_name: None, }, FileSymbol { + name: "CONST_WITH_INNER", + loc: DeclarationLocation { + hir_file_id: HirFileId( + FileId( + FileId( + 0, + ), + ), + ), + ptr: SyntaxNodePtr { + range: 520..592, + kind: CONST, + }, + name_ptr: SyntaxNodePtr { + range: 526..542, + kind: NAME, + }, + }, + kind: Const, + container_name: None, + }, + FileSymbol { name: "b_mod", loc: DeclarationLocation { hir_file_id: HirFileId( @@ -265,11 +287,11 @@ ), ), ptr: SyntaxNodePtr { - range: 459..469, + range: 594..604, kind: MODULE, }, name_ptr: SyntaxNodePtr { - range: 463..468, + range: 598..603, kind: NAME, }, }, @@ -365,6 +387,52 @@ container_name: None, }, FileSymbol { + name: "StructInUnnamedConst", + loc: DeclarationLocation { + hir_file_id: HirFileId( + FileId( + FileId( + 0, + ), + ), + ), + ptr: SyntaxNodePtr { + range: 479..507, + kind: STRUCT, + }, + name_ptr: SyntaxNodePtr { + range: 486..506, + kind: NAME, + }, + }, + kind: Struct, + container_name: None, + }, + FileSymbol { + name: "StructInNamedConst", + loc: DeclarationLocation { + hir_file_id: HirFileId( + FileId( + FileId( + 0, + ), + ), + ), + ptr: SyntaxNodePtr { + range: 555..581, + kind: STRUCT, + }, + name_ptr: SyntaxNodePtr { + range: 562..580, + kind: NAME, + }, + }, + kind: Struct, + container_name: Some( + "CONST_WITH_INNER", + ), + }, + FileSymbol { name: "StructInFn", loc: DeclarationLocation { hir_file_id: HirFileId( |