Skip to content

Commit

Permalink
fix: Fix IDE features breaking in some attr macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Jun 20, 2024
1 parent bf9a726 commit 1037702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/hir/src/semantics/source_to_def.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ impl SourceToDefCtx<'_, '_> {
.entry(macro_file)
.or_insert_with(|| macro_file.expansion_info(this.db.upcast()));

expansion_info.call_node().map(|node| node?.parent()).transpose()
expansion_info.call_node().transpose()
}
};
let mut node = node.cloned();
Expand Down

0 comments on commit 1037702

Please sign in to comment.