diff options
author | Aleksey Kladov <[email protected]> | 2019-01-24 22:31:32 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-24 22:31:32 +0000 |
commit | 0f2f3a21e7e624f920d182869896347af309e909 (patch) | |
tree | 8c16d0a479021c2d558a865df94eb01316a208b2 /crates/ra_hir/src/code_model_impl | |
parent | 00ba70a0957b8af2813940787238a733298dfa5f (diff) |
Migrate trait & type to new ids
Diffstat (limited to 'crates/ra_hir/src/code_model_impl')
-rw-r--r-- | crates/ra_hir/src/code_model_impl/module.rs | 7 |
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 |