Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/next_solver/normalize.rs')
-rw-r--r--crates/hir-ty/src/next_solver/normalize.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/next_solver/normalize.rs b/crates/hir-ty/src/next_solver/normalize.rs
index 5d8f3fe519..aa6f27c4c2 100644
--- a/crates/hir-ty/src/next_solver/normalize.rs
+++ b/crates/hir-ty/src/next_solver/normalize.rs
@@ -99,7 +99,7 @@ impl<'db> NormalizationFolder<'_, 'db> {
self.depth += 1;
- let infer_term = infcx.next_term_var_of_kind(alias_term);
+ let infer_term = infcx.next_term_var_of_kind(alias_term, self.at.cause.span());
let obligation = Obligation::new(
interner,
self.at.cause.clone(),