diff options
author | Aleksey Kladov <[email protected]> | 2018-08-14 12:45:56 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-14 12:45:56 +0100 |
commit | 199e3b73c712a74e36bbb75eebf9e9418f1b1341 (patch) | |
tree | c1d19ef695eedd9848eb9019a7c77c66f035a9bf /crates/libeditor/src | |
parent | 1141d448d960eedba0a5647d525910de706bf778 (diff) |
fields are part of the structure
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r-- | crates/libeditor/src/symbols.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/libeditor/src/symbols.rs b/crates/libeditor/src/symbols.rs index 8419f08e6..6f8853770 100644 --- a/crates/libeditor/src/symbols.rs +++ b/crates/libeditor/src/symbols.rs | |||
@@ -96,6 +96,7 @@ fn structure_node(node: SyntaxNodeRef) -> Option<StructureNode> { | |||
96 | visitor() | 96 | visitor() |
97 | .visit(decl::<ast::FnDef<_>>) | 97 | .visit(decl::<ast::FnDef<_>>) |
98 | .visit(decl::<ast::StructDef<_>>) | 98 | .visit(decl::<ast::StructDef<_>>) |
99 | .visit(decl::<ast::NamedField<_>>) | ||
99 | .visit(decl::<ast::EnumDef<_>>) | 100 | .visit(decl::<ast::EnumDef<_>>) |
100 | .visit(decl::<ast::TraitDef<_>>) | 101 | .visit(decl::<ast::TraitDef<_>>) |
101 | .visit(decl::<ast::Module<_>>) | 102 | .visit(decl::<ast::Module<_>>) |