aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model_impl/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/code_model_impl/module.rs')
-rw-r--r--crates/ra_hir/src/code_model_impl/module.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/crates/ra_hir/src/code_model_impl/module.rs b/crates/ra_hir/src/code_model_impl/module.rs
index 1518825c7..6419d3934 100644
--- a/crates/ra_hir/src/code_model_impl/module.rs
+++ b/crates/ra_hir/src/code_model_impl/module.rs
@@ -147,17 +147,12 @@ impl Module {
147 None => PerNs::none(), 147 None => PerNs::none(),
148 } 148 }
149 } 149 }
150 ModuleDef::Function(_) 150 _ => {
151 | ModuleDef::Struct(_)
152 | ModuleDef::Const(_)
153 | ModuleDef::Static(_)
154 | ModuleDef::EnumVariant(_) => {
155 // could be an inherent method call in UFCS form 151 // could be an inherent method call in UFCS form
156 // (`Struct::method`), or some other kind of associated 152 // (`Struct::method`), or some other kind of associated
157 // item... Which we currently don't handle (TODO) 153 // item... Which we currently don't handle (TODO)
158 PerNs::none() 154 PerNs::none()
159 } 155 }
160 ModuleDef::Def(_) => PerNs::none(),
161 }; 156 };
162 } 157 }
163 curr_per_ns 158 curr_per_ns