diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 16:52:53 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 16:52:53 +0100 |
commit | 609680ef97dbf82c07b6b06e21aa366423892304 (patch) | |
tree | 34296539101d8db4a484c472a45a1e30503791ef /crates/ra_parser/src | |
parent | 216a5344c8ef3c3e430d2761dc8b1a7b60250a15 (diff) |
Rename EnumDef -> Enum
Diffstat (limited to 'crates/ra_parser/src')
-rw-r--r-- | crates/ra_parser/src/grammar/items/adt.rs | 2 | ||||
-rw-r--r-- | crates/ra_parser/src/syntax_kind/generated.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_parser/src/grammar/items/adt.rs b/crates/ra_parser/src/grammar/items/adt.rs index 2f5cfb6b6..aeb7ce86b 100644 --- a/crates/ra_parser/src/grammar/items/adt.rs +++ b/crates/ra_parser/src/grammar/items/adt.rs | |||
@@ -64,7 +64,7 @@ pub(super) fn enum_def(p: &mut Parser, m: Marker) { | |||
64 | } else { | 64 | } else { |
65 | p.error("expected `{`") | 65 | p.error("expected `{`") |
66 | } | 66 | } |
67 | m.complete(p, ENUM_DEF); | 67 | m.complete(p, ENUM); |
68 | } | 68 | } |
69 | 69 | ||
70 | pub(crate) fn enum_variant_list(p: &mut Parser) { | 70 | pub(crate) fn enum_variant_list(p: &mut Parser) { |
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index 4fad765c7..fde9e55f1 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs | |||
@@ -125,7 +125,7 @@ pub enum SyntaxKind { | |||
125 | SOURCE_FILE, | 125 | SOURCE_FILE, |
126 | STRUCT, | 126 | STRUCT, |
127 | UNION, | 127 | UNION, |
128 | ENUM_DEF, | 128 | ENUM, |
129 | FN, | 129 | FN, |
130 | RET_TYPE, | 130 | RET_TYPE, |
131 | EXTERN_CRATE, | 131 | EXTERN_CRATE, |