aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model_impl
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-24 21:50:08 +0000
committerAleksey Kladov <[email protected]>2019-01-24 21:50:08 +0000
commit1db2cbcb8bd61b4f19f61cc6319343e5ad894515 (patch)
tree1769ced52f4e298773b8fee9fab79b691ddb5f04 /crates/ra_hir/src/code_model_impl
parentf588535273db261c32e23c1b0221d03ad82cd94d (diff)
move consts&statics to new id
Diffstat (limited to 'crates/ra_hir/src/code_model_impl')
-rw-r--r--crates/ra_hir/src/code_model_impl/module.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model_impl/module.rs b/crates/ra_hir/src/code_model_impl/module.rs
index aa5e5d689..1518825c7 100644
--- a/crates/ra_hir/src/code_model_impl/module.rs
+++ b/crates/ra_hir/src/code_model_impl/module.rs
@@ -147,7 +147,11 @@ impl Module {
147 None => PerNs::none(), 147 None => PerNs::none(),
148 } 148 }
149 } 149 }
150 ModuleDef::Function(_) | ModuleDef::Struct(_) | ModuleDef::EnumVariant(_) => { 150 ModuleDef::Function(_)
151 | ModuleDef::Struct(_)
152 | ModuleDef::Const(_)
153 | ModuleDef::Static(_)
154 | ModuleDef::EnumVariant(_) => {
151 // could be an inherent method call in UFCS form 155 // could be an inherent method call in UFCS form
152 // (`Struct::method`), or some other kind of associated 156 // (`Struct::method`), or some other kind of associated
153 // item... Which we currently don't handle (TODO) 157 // item... Which we currently don't handle (TODO)