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