pub trait HasSpan<'src> {
// Required method
fn span(&'src self) -> &'src Span<'src>;
}Expand description
Any syntactic element can describe its location within the source material using this trait.
pub trait HasSpan<'src> {
// Required method
fn span(&'src self) -> &'src Span<'src>;
}Any syntactic element can describe its location within the source material using this trait.