aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_ty/src/infer')
-rw-r--r--crates/hir_ty/src/infer/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/infer/expr.rs b/crates/hir_ty/src/infer/expr.rs
index 9aec8a236..a7e720f88 100644
--- a/crates/hir_ty/src/infer/expr.rs
+++ b/crates/hir_ty/src/infer/expr.rs
@@ -746,7 +746,7 @@ impl<'a> InferenceContext<'a> {
746 ty: TyKind::Scalar(Scalar::Uint(UintTy::Usize)).intern(&Interner), 746 ty: TyKind::Scalar(Scalar::Uint(UintTy::Usize)).intern(&Interner),
747 value: ConstValue::Concrete(chalk_ir::ConcreteConst { 747 value: ConstValue::Concrete(chalk_ir::ConcreteConst {
748 interned: len 748 interned: len
749 .map(|len| ConstScalar::Usize(len)) 749 .map(|len| ConstScalar::Usize(len as u64))
750 .unwrap_or(ConstScalar::Unknown), 750 .unwrap_or(ConstScalar::Unknown),
751 }), 751 }),
752 }; 752 };