diff options
Diffstat (limited to 'crates/ra_ide_api_light/src/structure.rs')
-rw-r--r-- | crates/ra_ide_api_light/src/structure.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide_api_light/src/structure.rs b/crates/ra_ide_api_light/src/structure.rs index e3713c217..4e080ed03 100644 --- a/crates/ra_ide_api_light/src/structure.rs +++ b/crates/ra_ide_api_light/src/structure.rs | |||
@@ -103,6 +103,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> { | |||
103 | .visit(decl::<ast::StructDef>) | 103 | .visit(decl::<ast::StructDef>) |
104 | .visit(|nfd: &ast::NamedFieldDef| decl_with_type_ref(nfd, nfd.type_ref())) | 104 | .visit(|nfd: &ast::NamedFieldDef| decl_with_type_ref(nfd, nfd.type_ref())) |
105 | .visit(decl::<ast::EnumDef>) | 105 | .visit(decl::<ast::EnumDef>) |
106 | .visit(decl::<ast::EnumVariant>) | ||
106 | .visit(decl::<ast::TraitDef>) | 107 | .visit(decl::<ast::TraitDef>) |
107 | .visit(decl::<ast::Module>) | 108 | .visit(decl::<ast::Module>) |
108 | .visit(|td: &ast::TypeDef| decl_with_type_ref(td, td.type_ref())) | 109 | .visit(|td: &ast::TypeDef| decl_with_type_ref(td, td.type_ref())) |