mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Add a FIXME to ItemTree
This commit is contained in:
parent
6817f1ff99
commit
eda1cb7ceb
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue