Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/infer/coerce.rs')
-rw-r--r--crates/hir-ty/src/infer/coerce.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/infer/coerce.rs b/crates/hir-ty/src/infer/coerce.rs
index 47a7049248..f92503003b 100644
--- a/crates/hir-ty/src/infer/coerce.rs
+++ b/crates/hir-ty/src/infer/coerce.rs
@@ -1663,7 +1663,7 @@ fn coerce<'db>(
Const::new_bound(
self.interner,
self.debruijn,
- BoundConst { var: BoundVar::from_usize(i) },
+ BoundConst::new(BoundVar::from_usize(i)),
)
},
)