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