pub trait ErrorTrait { // Required methods fn message(&self) -> String; fn range(&self) -> TextRange; }