Trait wax::LocatedError
source · pub trait LocatedError: Display {
// Required method
fn span(&self) -> Span;
}
Expand description
Error associated with a Span
within a glob expression.
Located errors describe specific instances of an error within a glob expression. Types that
implement this trait provide a location within a glob expression via the LocatedError::span
function as well as a description via the Display
trait. See BuildError::locations
.