More rename fallout
This commit is contained in:
parent
534e267d48
commit
9108294a6c
25 changed files with 93 additions and 91 deletions
|
@ -105,7 +105,7 @@ impl<'tcx> PredicateObligation<'tcx> {
|
|||
impl<'tcx> PolyTraitObligation<'tcx> {
|
||||
pub fn derived_cause(
|
||||
&self,
|
||||
variant: impl FnOnce(DerivedObligationCause<'tcx>) -> ObligationCauseCode<'tcx>,
|
||||
variant: impl FnOnce(DerivedCause<'tcx>) -> ObligationCauseCode<'tcx>,
|
||||
) -> ObligationCause<'tcx> {
|
||||
self.cause.clone().derived_cause(self.predicate, variant)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue