pub trait AstIdLoc { type Container; type Ast: AstNode; // Required methods fn ast_id(&self) -> AstId<Self::Ast>; fn container(&self) -> Self::Container; }