aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/item_tree
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-09 11:15:20 +0100
committerGitHub <[email protected]>2020-07-09 11:15:20 +0100
commit7566d7da8ab035a286f82a60b8e2c679158bc56c (patch)
treed7330bf7d50a78f86339c91168ca53379e689dcf /crates/ra_hir_def/src/item_tree
parent91005ecc27427f46529b9372f91e5072dfe5e179 (diff)
parent4399eff2d06f9134ff37a4dfd47204de6ebebd92 (diff)
Merge #5280
5280: Re-enable IDE features for incomplete impl blocs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/item_tree')
-rw-r--r--crates/ra_hir_def/src/item_tree/lower.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/item_tree/lower.rs b/crates/ra_hir_def/src/item_tree/lower.rs
index 06743d7fc..eaa10d999 100644
--- a/crates/ra_hir_def/src/item_tree/lower.rs
+++ b/crates/ra_hir_def/src/item_tree/lower.rs
@@ -450,8 +450,9 @@ impl Ctx {
450 450
451 // We cannot use `assoc_items()` here as that does not include macro calls. 451 // We cannot use `assoc_items()` here as that does not include macro calls.
452 let items = impl_def 452 let items = impl_def
453 .item_list()? 453 .item_list()
454 .items() 454 .into_iter()
455 .flat_map(|it| it.items())
455 .filter_map(|item| { 456 .filter_map(|item| {
456 self.collect_inner_items(item.syntax()); 457 self.collect_inner_items(item.syntax());
457 let assoc = self.lower_assoc_item(&item)?; 458 let assoc = self.lower_assoc_item(&item)?;