[−][src]Trait rustc_infer::infer::error_reporting::ObligationCauseExt

pub(in infer::error_reporting) trait ObligationCauseExt<'tcx> {
    pub(in infer::error_reporting) fn as_failure_code(
        &self,
        terr: &TypeError<'tcx>
    ) -> FailureCode;
pub(in infer::error_reporting) fn as_requirement_str(
        &self
    ) -> &'static str; }

Required methods

pub(in infer::error_reporting) fn as_failure_code(
    &self,
    terr: &TypeError<'tcx>
) -> FailureCode
[src]

pub(in infer::error_reporting) fn as_requirement_str(
    &self
) -> &'static str
[src]

Loading content...

Implementors

impl<'tcx> ObligationCauseExt<'tcx> for ObligationCause<'tcx>[src]

Loading content...