pub trait ErrorWithLocation: Display {
// Required method
fn location(&self) -> Location;
}Expand description
Represents an error that has a location in the source code.
pub trait ErrorWithLocation: Display {
// Required method
fn location(&self) -> Location;
}Represents an error that has a location in the source code.