Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/mir/lower.rs')
-rw-r--r--crates/hir-ty/src/mir/lower.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/mir/lower.rs b/crates/hir-ty/src/mir/lower.rs
index b935a6ed32..49fb6f5305 100644
--- a/crates/hir-ty/src/mir/lower.rs
+++ b/crates/hir-ty/src/mir/lower.rs
@@ -581,7 +581,7 @@ impl<'a, 'db> MirLowerCtx<'a, 'db> {
ParamConst { id: p, index },
)
.store(),
- ty: self.db.const_param_ty_ns(p).store(),
+ ty: self.db.const_param_ty(p).store(),
},
span: None,
}),