aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-13 11:13:56 +0100
committerGitHub <[email protected]>2021-06-13 11:13:56 +0100
commite29a4c36c7135820929e741ed40192648556aca6 (patch)
tree020b9667f0f723b06ee7fb6948efaa9e6b135f68 /crates/hir_ty/src
parentadbee621a75f47e0da4f30d7205dfce009138865 (diff)
parent546be18e3a91e4844b0dacc76c9f055397b6d89e (diff)
Merge #9243
9243: internal: check that coverage marks are always paired r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/hir_ty/src')
-rw-r--r--crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs1
1 files changed, 1 insertions, 0 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 088d2791e..471cd4921 100644
--- a/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs
+++ b/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs
@@ -664,6 +664,7 @@ 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);
667 let field_ty_data = cx.db.field_types(variant_id); 668 let field_ty_data = cx.db.field_types(variant_id);
668 let field_tys = || { 669 let field_tys = || {
669 field_ty_data 670 field_ty_data