minor: put a mark back
This commit is contained in:
parent
adbee621a7
commit
0eafc88079
2 changed files with 2 additions and 0 deletions
|
|
@ -664,6 +664,7 @@ impl Fields {
|
|||
let is_non_exhaustive =
|
||||
is_field_list_non_exhaustive(variant_id, cx) && !adt_is_local;
|
||||
|
||||
cov_mark::hit!(match_check_wildcard_expanded_to_substitutions);
|
||||
let field_ty_data = cx.db.field_types(variant_id);
|
||||
let field_tys = || {
|
||||
field_ty_data
|
||||
|
|
|
|||
|
|
@ -2172,6 +2172,7 @@ fn main() {
|
|||
|
||||
#[test]
|
||||
fn pattern_type_is_of_substitution() {
|
||||
cov_mark::check!(match_check_wildcard_expanded_to_substitutions);
|
||||
check_diagnostics(
|
||||
r#"
|
||||
struct Foo<T>(T);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue