Add a FIXME to ItemTree

This commit is contained in:
Jonas Schievink 2021-02-03 18:14:39 +01:00
parent 6817f1ff99
commit eda1cb7ceb

View File

@ -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) {