pub trait At<T> {
// Required method
fn at(self, span: Span) -> SourceResult<T>;
}
Expand description
Convert a StrResult
or HintedStrResult
to a SourceResult
by
adding span information.
Required Methods§
sourcefn at(self, span: Span) -> SourceResult<T>
fn at(self, span: Span) -> SourceResult<T>
Add the span information.