pub trait InferCtxtExt<'tcx> {
fn predicate_may_hold(
&self,
obligation: &Obligation<'tcx, Predicate<'tcx>>
) -> bool;
fn predicate_must_hold_considering_regions(
&self,
obligation: &Obligation<'tcx, Predicate<'tcx>>
) -> bool;
fn predicate_must_hold_modulo_regions(
&self,
obligation: &Obligation<'tcx, Predicate<'tcx>>
) -> bool;
fn evaluate_obligation(
&self,
obligation: &Obligation<'tcx, Predicate<'tcx>>
) -> Result<EvaluationResult, OverflowError>;
fn evaluate_obligation_no_overflow(
&self,
obligation: &Obligation<'tcx, Predicate<'tcx>>
) -> EvaluationResult;
}