Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/lower.rs')
-rw-r--r--crates/hir-ty/src/lower.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/lower.rs b/crates/hir-ty/src/lower.rs
index 335aff2c1d..7325cd0ef8 100644
--- a/crates/hir-ty/src/lower.rs
+++ b/crates/hir-ty/src/lower.rs
@@ -2379,7 +2379,7 @@ fn push_const_arg_has_type_predicates<'db>(
interner,
ParamConst { id: param_id, index: (param_index + const_params_offset) as u32 },
),
- db.const_param_ty_ns(param_id),
+ db.const_param_ty(param_id),
)
.upcast(interner),
));