diff options
Diffstat (limited to 'crates/libeditor/src/scope/mod_scope.rs')
-rw-r--r-- | crates/libeditor/src/scope/mod_scope.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/libeditor/src/scope/mod_scope.rs b/crates/libeditor/src/scope/mod_scope.rs index 0e51108d9..aa8dd93a7 100644 --- a/crates/libeditor/src/scope/mod_scope.rs +++ b/crates/libeditor/src/scope/mod_scope.rs | |||
@@ -13,6 +13,8 @@ impl ModuleScope { | |||
13 | ast::ModuleItem::StructDef(item) => Entry::new(item), | 13 | ast::ModuleItem::StructDef(item) => Entry::new(item), |
14 | ast::ModuleItem::EnumDef(item) => Entry::new(item), | 14 | ast::ModuleItem::EnumDef(item) => Entry::new(item), |
15 | ast::ModuleItem::FnDef(item) => Entry::new(item), | 15 | ast::ModuleItem::FnDef(item) => Entry::new(item), |
16 | ast::ModuleItem::ConstDef(item) => Entry::new(item), | ||
17 | ast::ModuleItem::StaticDef(item) => Entry::new(item), | ||
16 | ast::ModuleItem::TraitDef(item) => Entry::new(item), | 18 | ast::ModuleItem::TraitDef(item) => Entry::new(item), |
17 | ast::ModuleItem::ExternCrateItem(_) | | 19 | ast::ModuleItem::ExternCrateItem(_) | |
18 | ast::ModuleItem::ImplItem(_) | | 20 | ast::ModuleItem::ImplItem(_) | |