diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-18 16:57:17 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-18 16:57:17 +0000 |
commit | c72d3a7c0989e63a9b063fed445cbbaf3e40a29f (patch) | |
tree | 17cf18031eeed0e8990c439e8d47a758ad778ae3 /crates/parser | |
parent | 9daba961f236750c3a5d831c9775606271b37eff (diff) | |
parent | 872bf09381751600de8e58aab65b1d2511c33223 (diff) |
Merge #7324
7324: Add `MacroType` r=jonas-schievink a=jonas-schievink
Adds syntax-level support for macros in type position.
Based on https://github.com/rust-analyzer/rust-analyzer/pull/7291 due to the ungrammar update
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/parser')
-rw-r--r-- | crates/parser/src/syntax_kind/generated.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/parser/src/syntax_kind/generated.rs b/crates/parser/src/syntax_kind/generated.rs index 7d53cc4cd..bcefd183a 100644 --- a/crates/parser/src/syntax_kind/generated.rs +++ b/crates/parser/src/syntax_kind/generated.rs | |||
@@ -143,6 +143,7 @@ pub enum SyntaxKind { | |||
143 | MACRO_DEF, | 143 | MACRO_DEF, |
144 | PAREN_TYPE, | 144 | PAREN_TYPE, |
145 | TUPLE_TYPE, | 145 | TUPLE_TYPE, |
146 | MACRO_TYPE, | ||
146 | NEVER_TYPE, | 147 | NEVER_TYPE, |
147 | PATH_TYPE, | 148 | PATH_TYPE, |
148 | PTR_TYPE, | 149 | PTR_TYPE, |