Remove non-descriptive boolean from search_for_structural_match_violation
This commit is contained in:
parent
c1f54c30bb
commit
10b69ab0d2
5 changed files with 57 additions and 44 deletions
|
@ -226,7 +226,7 @@ impl Qualif for CustomEq {
|
|||
// because that component may be part of an enum variant (e.g.,
|
||||
// `Option::<NonStructuralMatchTy>::Some`), in which case some values of this type may be
|
||||
// structural-match (`Option::None`).
|
||||
traits::search_for_structural_match_violation(cx.body.span, cx.tcx, ty, false).is_some()
|
||||
traits::search_for_structural_match_violation(cx.body.span, cx.tcx, ty).is_some()
|
||||
}
|
||||
|
||||
fn in_adt_inherently<'tcx>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue