mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
migrate ra_hir to the new rowan
This commit is contained in:
parent
7e02aa0eff
commit
e2b28f5bb8
22 changed files with 206 additions and 210 deletions
|
@ -75,7 +75,7 @@ impl<T> Parse<T> {
|
|||
Parse { green, errors: Arc::new(errors), _ty: PhantomData }
|
||||
}
|
||||
|
||||
fn syntax_node(&self) -> SyntaxNode {
|
||||
pub fn syntax_node(&self) -> SyntaxNode {
|
||||
SyntaxNode::new(self.green.clone())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue