Make OUT
an associated type instead of a generic parameter
This avoids toil when changing other functions in `ObligationForest` to take an `OUT` parameter.
This commit is contained in:
parent
5922d6cf60
commit
749dec6451
3 changed files with 6 additions and 0 deletions
|
@ -224,6 +224,7 @@ fn mk_pending(os: Vec<PredicateObligation<'_>>) -> Vec<PendingPredicateObligatio
|
|||
impl<'a, 'b, 'tcx> ObligationProcessor for FulfillProcessor<'a, 'b, 'tcx> {
|
||||
type Obligation = PendingPredicateObligation<'tcx>;
|
||||
type Error = FulfillmentErrorCode<'tcx>;
|
||||
type OUT = Outcome<Self::Obligation, Self::Error>;
|
||||
|
||||
/// Identifies whether a predicate obligation needs processing.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue