diff options
author | Florian Diebold <[email protected]> | 2020-04-10 16:44:43 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2020-04-16 12:06:23 +0100 |
commit | 14570df015d1641d1e382c9898e7c6d981b99e97 (patch) | |
tree | eb89057f63b5b85c029b2caa6a6cf22a834d67f4 /crates/ra_hir_ty/src/infer | |
parent | 364415b7d66bc9d42f21181d7f642e9f911c4711 (diff) |
Switch Chalk to recursive solver
+ various fixes related to that.
Diffstat (limited to 'crates/ra_hir_ty/src/infer')
-rw-r--r-- | crates/ra_hir_ty/src/infer/unify.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir_ty/src/infer/unify.rs b/crates/ra_hir_ty/src/infer/unify.rs index ac25f8a80..5f6cea8d3 100644 --- a/crates/ra_hir_ty/src/infer/unify.rs +++ b/crates/ra_hir_ty/src/infer/unify.rs | |||
@@ -32,6 +32,7 @@ where | |||
32 | var_stack: Vec<TypeVarId>, | 32 | var_stack: Vec<TypeVarId>, |
33 | } | 33 | } |
34 | 34 | ||
35 | #[derive(Debug)] | ||
35 | pub(super) struct Canonicalized<T> { | 36 | pub(super) struct Canonicalized<T> { |
36 | pub value: Canonical<T>, | 37 | pub value: Canonical<T>, |
37 | free_vars: Vec<InferTy>, | 38 | free_vars: Vec<InferTy>, |