pub trait OptionalCodeLocation { // Required method fn loc_opt(&self) -> Option<Loc>; }
Structs should implement this trait to return an optional location