pub trait SourceSpanned<'db> {
// Required method
fn source_span(&self, db: &'db dyn Db) -> Span<'db>;
}Expand description
Returns the span of this item in the source.
This is distinct from the Spanned impl, which returns
the span best used in error reporting.