Clarify DerivedObligationCause
may hold alias id
This commit is contained in:
parent
a1468ae00d
commit
55d449fe0a
8 changed files with 16 additions and 12 deletions
|
@ -158,7 +158,7 @@ impl<'tcx> Elaborator<'tcx> {
|
|||
traits::ImplDerivedObligation(Box::new(
|
||||
traits::ImplDerivedObligationCause {
|
||||
derived,
|
||||
impl_def_id: data.def_id(),
|
||||
impl_or_alias_def_id: data.def_id(),
|
||||
impl_def_predicate_index: Some(index),
|
||||
span,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue