Trait runestick::WithSpan[][src]

pub trait WithSpan<T> {
    fn with_span(self, span: Span) -> Result<T, SpannedError>;
}
Expand description

Trait to coerce a result of a non-spanned error into a spanned error.

Required methods

Convert the given result into a result which produces a spanned error.

Implementations on Foreign Types

Blanket implementation that is helpful.

Implementors