remove dead code

This commit is contained in:
Aleksey Kladov 2019-04-02 00:14:57 +03:00
parent 56f3524c69
commit 8014116e5f
3 changed files with 0 additions and 37 deletions

View file

@ -25,13 +25,6 @@ pub trait AstNode:
fn syntax(&self) -> &SyntaxNode;
}
pub trait AstToken: AstNode {
fn text(&self) -> &SmolStr {
// self.syntax().leaf_text().unwrap()
unimplemented!()
}
}
pub trait TypeAscriptionOwner: AstNode {
fn ascribed_type(&self) -> Option<&TypeRef> {
child_opt(self)