pub trait HasLoc { // Required method fn loc(&self) -> Loc; }
Many objects have location information. HasLoc allows you to call HasLoc::loc to get the span information.
HasLoc
HasLoc::loc