Trait ResultExt

Source
pub trait ResultExt<T> {
    // Required method
    fn with_span(self, span: Span) -> Result<T, CheckerError>;
}

Required Methods§

Source

fn with_span(self, span: Span) -> Result<T, CheckerError>

Implementations on Foreign Types§

Source§

impl<T, E> ResultExt<T> for Result<T, E>
where E: Into<InferErr>,

Source§

fn with_span(self, span: Span) -> Result<T, CheckerError>

Implementors§