From 99c73537faba59c881805573442562418e0b650a Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sun, 16 May 2021 20:04:00 +0200 Subject: Remove TypeVariableTable --- crates/hir_ty/src/infer/coerce.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_ty/src/infer/coerce.rs') diff --git a/crates/hir_ty/src/infer/coerce.rs b/crates/hir_ty/src/infer/coerce.rs index 60186bc5f..20c512517 100644 --- a/crates/hir_ty/src/infer/coerce.rs +++ b/crates/hir_ty/src/infer/coerce.rs @@ -101,7 +101,7 @@ impl<'a> InferenceContext<'a> { // here, we would coerce from `!` to `?T`. match to_ty.kind(&Interner) { TyKind::InferenceVar(tv, TyVariableKind::General) => { - self.table.type_variable_table.set_diverging(*tv, true); + self.table.set_diverging(*tv, true); } _ => {} } -- cgit v1.2.3