mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-18 08:10:11 +00:00
remove dead code
This commit is contained in:
parent
56f3524c69
commit
8014116e5f
3 changed files with 0 additions and 37 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue