diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-19 17:22:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-19 17:22:40 +0000 |
commit | 0000c7753ead95d71cb95ccc4929d4845f218ab2 (patch) | |
tree | b25ab818073492ff8c80176043b68ffe7a40ab3c /crates/ra_hir_ty/src/infer | |
parent | 90f3b31efc1afe5de671fd6076fef3240f4151ab (diff) | |
parent | 9ccad60acca0d359f1fd9046c99952d0c1adc763 (diff) |
Merge #2600
2600: Plumbing for local items support r=matklad a=matklad
bors r+
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_ty/src/infer')
-rw-r--r-- | crates/ra_hir_ty/src/infer/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/infer/path.rs b/crates/ra_hir_ty/src/infer/path.rs index 402a89386..31c90ea1e 100644 --- a/crates/ra_hir_ty/src/infer/path.rs +++ b/crates/ra_hir_ty/src/infer/path.rs | |||
@@ -237,7 +237,7 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> { | |||
237 | })); | 237 | })); |
238 | Some(substs) | 238 | Some(substs) |
239 | } | 239 | } |
240 | ContainerId::ModuleId(_) => None, | 240 | ContainerId::ModuleId(_) | ContainerId::DefWithBodyId(_) => None, |
241 | }; | 241 | }; |
242 | 242 | ||
243 | self.write_assoc_resolution(id, item.into()); | 243 | self.write_assoc_resolution(id, item.into()); |