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.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir-ty/src/lower.rs b/crates/hir-ty/src/lower.rs
index 4000ba5c14..0f823580cb 100644
--- a/crates/hir-ty/src/lower.rs
+++ b/crates/hir-ty/src/lower.rs
@@ -2023,6 +2023,7 @@ pub(crate) fn const_or_path_to_chalk(
mode,
args,
debruijn,
+ expected_ty.clone(),
)
.unwrap_or_else(|| unknown_const(expected_ty))
}