Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/nameres/assoc.rs')
-rw-r--r--crates/hir-def/src/nameres/assoc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-def/src/nameres/assoc.rs b/crates/hir-def/src/nameres/assoc.rs
index e2a1f78dbb..7d3961e383 100644
--- a/crates/hir-def/src/nameres/assoc.rs
+++ b/crates/hir-def/src/nameres/assoc.rs
@@ -259,7 +259,7 @@ impl<'a> AssocItemCollector<'a> {
.map(|it| self.db.macro_def(it))
};
match macro_call_as_call_id(
- self.db.upcast(),
+ self.db,
&AstIdWithPath::new(tree_id.file_id(), ast_id, Clone::clone(path)),
ctxt,
expand_to,