diff options
author | Florian Diebold <[email protected]> | 2021-05-16 19:04:00 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-05-21 16:49:09 +0100 |
commit | 99c73537faba59c881805573442562418e0b650a (patch) | |
tree | f82ef98fd5dee996f79acbcbd738a18f98a39220 /crates/hir_ty/src/infer/coerce.rs | |
parent | 9716c0b949b1a1a95b3f36928faed3abc21c0bda (diff) |
Remove TypeVariableTable
Diffstat (limited to 'crates/hir_ty/src/infer/coerce.rs')
-rw-r--r-- | crates/hir_ty/src/infer/coerce.rs | 2 |
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 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> { | |||
101 | // here, we would coerce from `!` to `?T`. | 101 | // here, we would coerce from `!` to `?T`. |
102 | match to_ty.kind(&Interner) { | 102 | match to_ty.kind(&Interner) { |
103 | TyKind::InferenceVar(tv, TyVariableKind::General) => { | 103 | TyKind::InferenceVar(tv, TyVariableKind::General) => { |
104 | self.table.type_variable_table.set_diverging(*tv, true); | 104 | self.table.set_diverging(*tv, true); |
105 | } | 105 | } |
106 | _ => {} | 106 | _ => {} |
107 | } | 107 | } |