Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/expr_store/expander.rs')
| -rw-r--r-- | crates/hir-def/src/expr_store/expander.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-def/src/expr_store/expander.rs b/crates/hir-def/src/expr_store/expander.rs index fbe7bab457..368406275d 100644 --- a/crates/hir-def/src/expr_store/expander.rs +++ b/crates/hir-def/src/expr_store/expander.rs @@ -46,7 +46,7 @@ impl<'db> Expander<'db> { current_file_id, recursion_depth: 0, recursion_limit, - span_map: db.span_map(current_file_id), + span_map: current_file_id.span_map(db), ast_id_map: current_file_id.ast_id_map(db), } } |