diff options
Diffstat (limited to 'crates/libeditor/src/symbols.rs')
-rw-r--r-- | crates/libeditor/src/symbols.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/libeditor/src/symbols.rs b/crates/libeditor/src/symbols.rs index 3faf96868..5cd781c80 100644 --- a/crates/libeditor/src/symbols.rs +++ b/crates/libeditor/src/symbols.rs | |||
@@ -63,5 +63,8 @@ fn to_symbol(node: SyntaxNodeRef) -> Option<FileSymbol> { | |||
63 | .visit(decl::<ast::Enum<_>>) | 63 | .visit(decl::<ast::Enum<_>>) |
64 | .visit(decl::<ast::Trait<_>>) | 64 | .visit(decl::<ast::Trait<_>>) |
65 | .visit(decl::<ast::Module<_>>) | 65 | .visit(decl::<ast::Module<_>>) |
66 | .visit(decl::<ast::TypeItem<_>>) | ||
67 | .visit(decl::<ast::ConstItem<_>>) | ||
68 | .visit(decl::<ast::StaticItem<_>>) | ||
66 | .accept(node)? | 69 | .accept(node)? |
67 | } | 70 | } |