Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-expand/src/db.rs')
| -rw-r--r-- | crates/hir-expand/src/db.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-expand/src/db.rs b/crates/hir-expand/src/db.rs index 52ab072f9c..edc3a09d18 100644 --- a/crates/hir-expand/src/db.rs +++ b/crates/hir-expand/src/db.rs @@ -600,8 +600,8 @@ fn macro_expand<'db>( fn proc_macro_span(db: &dyn ExpandDatabase, ast: AstId<ast::Fn>) -> Span { let root = db.parse_or_expand(ast.file_id); - let ast_id_map = &db.ast_id_map(ast.file_id); - let span_map = &db.span_map(ast.file_id); + let ast_id_map = db.ast_id_map(ast.file_id); + let span_map = db.span_map(ast.file_id); let node = ast_id_map.get(ast.value).to_node(&root); let range = ast::HasName::name(&node) |