Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-expand/src/eager.rs')
-rw-r--r--crates/hir-expand/src/eager.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-expand/src/eager.rs b/crates/hir-expand/src/eager.rs
index 30e9624b2b..16053840b7 100644
--- a/crates/hir-expand/src/eager.rs
+++ b/crates/hir-expand/src/eager.rs
@@ -206,7 +206,7 @@ fn eager_macro_recur(
continue;
}
};
- let ast_id = db.ast_id_map(curr.file_id).ast_id(&call);
+ let ast_id = curr.file_id.ast_id_map(db).ast_id(&call);
let ExpandResult { value, err } = match def.kind {
MacroDefKind::BuiltInEager(..) => {
let ExpandResult { value, err } = expand_eager_macro_input(