From c3c2893f302d087ff3c1ddd3a1d4e88c03c4356b Mon Sep 17 00:00:00 2001 From: Dawer <7803845+iDawer@users.noreply.github.com> Date: Thu, 22 Apr 2021 20:17:27 +0500 Subject: Update match checking. fn is_useful , more skeletons Specify a lifetime on pattern references impl PatStack fill impl Matrix PatStack::pop_head_constructor Index-based approach struct PatCtxt fields construction fn Fields::wildcards split wildcard fn Constructor::is_covered_by_any(..) fn Matrix::specialize_constructor(..) impl Usefulness Initial work on witness construction Reorganize files Replace match checking diagnostic Handle types of expanded patterns unit match checking go brrr --- crates/hir_ty/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/hir_ty/Cargo.toml') diff --git a/crates/hir_ty/Cargo.toml b/crates/hir_ty/Cargo.toml index c3d02424d..4b714c6d8 100644 --- a/crates/hir_ty/Cargo.toml +++ b/crates/hir_ty/Cargo.toml @@ -22,6 +22,7 @@ chalk-solve = { version = "0.68", default-features = false } chalk-ir = "0.68" chalk-recursive = "0.68" la-arena = { version = "0.2.0", path = "../../lib/arena" } +once_cell = { version = "1.5.0" } stdx = { path = "../stdx", version = "0.0.0" } hir_def = { path = "../hir_def", version = "0.0.0" } -- cgit v1.2.3