diff options
author | Aleksey Kladov <[email protected]> | 2021-06-12 17:28:19 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-12 19:00:22 +0100 |
commit | 6940cfed1e24a67e816e69e1093e04c0eb73e070 (patch) | |
tree | 68825f63dc6bdb571498ba659a2cf57bd31accb4 /crates/hir_ty/src/diagnostics/match_check | |
parent | 6f0141a14026827edfe4ef046013001acd22d94d (diff) |
Move some hir_ty diagnostics to hir
Diffstat (limited to 'crates/hir_ty/src/diagnostics/match_check')
-rw-r--r-- | crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs b/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs index 1f4219b42..222141bd6 100644 --- a/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs +++ b/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs | |||
@@ -664,7 +664,6 @@ impl Fields { | |||
664 | let is_non_exhaustive = | 664 | let is_non_exhaustive = |
665 | is_field_list_non_exhaustive(variant_id, cx) && !adt_is_local; | 665 | is_field_list_non_exhaustive(variant_id, cx) && !adt_is_local; |
666 | 666 | ||
667 | cov_mark::hit!(match_check_wildcard_expanded_to_substitutions); | ||
668 | let field_ty_data = cx.db.field_types(variant_id); | 667 | let field_ty_data = cx.db.field_types(variant_id); |
669 | let field_tys = || { | 668 | let field_tys = || { |
670 | field_ty_data | 669 | field_ty_data |