From faf526e021e09770cae28f8d7c8ee88a54d6574d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 9 Apr 2019 01:06:30 +0300 Subject: migrate to untyped rowan --- crates/ra_syntax/src/ast/generated.rs.tera | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/ra_syntax/src/ast/generated.rs.tera') diff --git a/crates/ra_syntax/src/ast/generated.rs.tera b/crates/ra_syntax/src/ast/generated.rs.tera index e2d4856cf..c8a13fc5f 100644 --- a/crates/ra_syntax/src/ast/generated.rs.tera +++ b/crates/ra_syntax/src/ast/generated.rs.tera @@ -15,7 +15,7 @@ use rowan::TransparentNewType; use crate::{ SyntaxNode, SyntaxKind::*, - syntax_node::{RaTypes, TreeArc}, + syntax_node::{TreeArc}, ast::{self, AstNode}, }; {% for node, methods in ast %} @@ -28,7 +28,7 @@ pub struct {{ node }} { pub(crate) syntax: SyntaxNode, } unsafe impl TransparentNewType for {{ node }} { - type Repr = rowan::SyntaxNode; + type Repr = rowan::SyntaxNode; } #[derive(Debug, Clone, Copy, PartialEq, Eq)] @@ -81,7 +81,7 @@ pub struct {{ node }} { pub(crate) syntax: SyntaxNode, } unsafe impl TransparentNewType for {{ node }} { - type Repr = rowan::SyntaxNode; + type Repr = rowan::SyntaxNode; } impl AstNode for {{ node }} { -- cgit v1.2.3