From eda1cb7ceb21b0a8b55a30b69b6f44a7bed096ff Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 3 Feb 2021 18:14:39 +0100 Subject: Add a FIXME to ItemTree --- crates/hir_def/src/item_tree/lower.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/hir_def/src/item_tree/lower.rs b/crates/hir_def/src/item_tree/lower.rs index acc001add..de2177933 100644 --- a/crates/hir_def/src/item_tree/lower.rs +++ b/crates/hir_def/src/item_tree/lower.rs @@ -183,6 +183,7 @@ impl Ctx { block_stack.push(self.source_ast_id_map.ast_id(&block)); }, ast::Item(item) => { + // FIXME: This triggers for macro calls in expression position let mod_items = self.lower_mod_item(&item, true); let current_block = block_stack.last(); if let (Some(mod_items), Some(block)) = (mod_items, current_block) { -- cgit v1.2.3