pub trait ToSpan {
// Required method
fn span_for(&self, file: &File) -> Span;
}
Expand description
Trait implemented by all types from which we can retrieve a span.
pub trait ToSpan {
// Required method
fn span_for(&self, file: &File) -> Span;
}
Trait implemented by all types from which we can retrieve a span.