Type Alias chandeliers_err::Span

source ·
pub type Span = Transparent<Span>;
Expand description

Reexport of Span, but this time forgeable in tests and transparent to Eq and Hash.

Aliased Type§

struct Span { /* private fields */ }

Trait Implementations§

source§

impl TryDefSite for Span

Always None: Span provides a usage site not a def site. Put it in a wrapper if you want one.

source§

fn try_def_site(&self) -> Option<Span>

Try to get a span from the object (by default we don’t get any, but a wrapper might provide one)
source§

impl TrySpan for Span

Always Some.

source§

fn try_span(&self) -> Option<Span>

Try to get a span from the object (by default we don’t get any, but a wrapper might provide one)