Trait rustc_infer::infer::error_reporting::ObligationCauseExt [−][src]
trait ObligationCauseExt<'tcx> {
fn as_failure_code(&self, terr: &TypeError<'tcx>) -> FailureCode;
fn as_requirement_str(&self) -> &'static str;
}Required methods
fn as_failure_code(&self, terr: &TypeError<'tcx>) -> FailureCode[src]
fn as_requirement_str(&self) -> &'static str[src]
Implementors
impl<'tcx> ObligationCauseExt<'tcx> for ObligationCause<'tcx>[src]
impl<'tcx> ObligationCauseExt<'tcx> for ObligationCause<'tcx>[src]