diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-09 08:29:06 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-09 08:29:06 +0100 |
commit | 5f700179fc7ed16d2848a6dbc7cf23da3b8df6c7 (patch) | |
tree | 9fb5bbab15472c7d5b870a65c0ec34256b13c428 /crates/ra_syntax/src/ast/generated.rs.tera | |
parent | ac6ab0758731d0555fbf1b1a918abd3e12c8169d (diff) | |
parent | faf526e021e09770cae28f8d7c8ee88a54d6574d (diff) |
Merge #1123
1123: migrate to untyped rowan r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs.tera')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs.tera | 6 |
1 files changed, 3 insertions, 3 deletions
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; | |||
15 | 15 | ||
16 | use crate::{ | 16 | use crate::{ |
17 | SyntaxNode, SyntaxKind::*, | 17 | SyntaxNode, SyntaxKind::*, |
18 | syntax_node::{RaTypes, TreeArc}, | 18 | syntax_node::{TreeArc}, |
19 | ast::{self, AstNode}, | 19 | ast::{self, AstNode}, |
20 | }; | 20 | }; |
21 | {% for node, methods in ast %} | 21 | {% for node, methods in ast %} |
@@ -28,7 +28,7 @@ pub struct {{ node }} { | |||
28 | pub(crate) syntax: SyntaxNode, | 28 | pub(crate) syntax: SyntaxNode, |
29 | } | 29 | } |
30 | unsafe impl TransparentNewType for {{ node }} { | 30 | unsafe impl TransparentNewType for {{ node }} { |
31 | type Repr = rowan::SyntaxNode<RaTypes>; | 31 | type Repr = rowan::SyntaxNode; |
32 | } | 32 | } |
33 | 33 | ||
34 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | 34 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
@@ -81,7 +81,7 @@ pub struct {{ node }} { | |||
81 | pub(crate) syntax: SyntaxNode, | 81 | pub(crate) syntax: SyntaxNode, |
82 | } | 82 | } |
83 | unsafe impl TransparentNewType for {{ node }} { | 83 | unsafe impl TransparentNewType for {{ node }} { |
84 | type Repr = rowan::SyntaxNode<RaTypes>; | 84 | type Repr = rowan::SyntaxNode; |
85 | } | 85 | } |
86 | 86 | ||
87 | impl AstNode for {{ node }} { | 87 | impl AstNode for {{ node }} { |