rustc_hir_typeck::coercion

Function success

Source
fn success<'tcx>(
    adj: Vec<Adjustment<'tcx>>,
    target: Ty<'tcx>,
    obligations: PredicateObligations<'tcx>,
) -> InferResult<'tcx, (Vec<Adjustment<'tcx>>, Ty<'tcx>)>
Expand description

This always returns Ok(...).