Remove some fields from ObligationCauseCode
This commit is contained in:
parent
7276a6a117
commit
9734c03524
9 changed files with 29 additions and 62 deletions
|
@ -92,7 +92,6 @@ fn compare_predicate_entailment<'tcx>(
|
|||
impl_m_span,
|
||||
impl_m_hir_id,
|
||||
ObligationCauseCode::CompareImplMethodObligation {
|
||||
item_name: impl_m.ident.name,
|
||||
impl_item_def_id: impl_m.def_id,
|
||||
trait_item_def_id: trait_m.def_id,
|
||||
},
|
||||
|
@ -1164,7 +1163,6 @@ fn compare_type_predicate_entailment<'tcx>(
|
|||
impl_ty_span,
|
||||
impl_ty_hir_id,
|
||||
ObligationCauseCode::CompareImplTypeObligation {
|
||||
item_name: impl_ty.ident.name,
|
||||
impl_item_def_id: impl_ty.def_id,
|
||||
trait_item_def_id: trait_ty.def_id,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue